Class CCPhoneNumberInput

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCPhoneNumberInput
All Implemented Interfaces:
Serializable, org.eclnt.jsfserver.elements.IConfiguredByLayout, org.eclnt.jsfserver.pagebean.component.IPageBeanComponent, org.eclnt.jsfserver.pagebean.IPageBean, org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject

public class CCPhoneNumberInput extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap
  • Field Summary

    Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean

    m_pageModifier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Builds a full phone number including currently selected country.
     
     
     
     
     
     
     
     
    void
    onNumberAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    prepare(Locale locale, List<String> countries, CCPhoneNumberInput.IListener listener)
     
    void
    setCountry(String country)
     
    void
     
    void
    setNumber(String number)
     
    void
     
    void
     

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    getLit, initializePageBean, initializePageBeanConfigItems

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase

    addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver

    Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean

    buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout

    addConfiguredByLayoutListener, removeConfiguredByLayoutListener

    Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean

    closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression

    Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent

    initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
  • Constructor Details

    • CCPhoneNumberInput

      public CCPhoneNumberInput()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • prepare

      public void prepare(Locale locale, List<String> countries, CCPhoneNumberInput.IListener listener)
    • getCountrySelection

      public CCCountrySelection getCountrySelection()
    • getWidth

      public String getWidth()
    • setWidth

      public void setWidth(String value)
    • getNumber

      public String getNumber()
    • setNumber

      public void setNumber(String number)
    • getParser

      public IPhoneNumberLogic getParser()
    • setParser

      public void setParser(IPhoneNumberLogic parser)
    • getCountry

      public String getCountry()
    • setCountry

      public void setCountry(String country)
    • getLogic

      public IPhoneNumberLogic getLogic()
    • setLogic

      public void setLogic(IPhoneNumberLogic logic)
    • getCountryCode

      public String getCountryCode()
    • buildNumberIncludingCountryCode

      public String buildNumberIncludingCountryCode()
      Builds a full phone number including currently selected country.
    • onNumberAction

      public void onNumberAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)