Class CCCountrySelection

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCCountrySelection
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 CCCountrySelection 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
     
    int
     
     
     
    org.eclnt.jsfserver.elements.util.ValidValuesBinding
     
     
     
     
     
     
    boolean
     
    void
     
    boolean
     
    void
    onAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    prepare(Locale locale, List<String> countries, boolean withText, boolean withImage, CCCountrySelection.IListener listener)
     
    void
     
    void
    setColSpan(int value)
     
    void
     
    void
     
    void
     
    void
     
    void
     
    void
    setWithImage(boolean withImage)
     
    void
    setWithText(boolean withText)
     

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

    getLit, 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

    • CCCountrySelection

      public CCCountrySelection()
  • 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, boolean withText, boolean withImage, CCCountrySelection.IListener listener)
      Parameters:
      locale - Optional: Locale for showing the text of the country. If not defined (i.e. passed as null) then the current session's locale will be used.
      countries - Optional: Countries which are shown. If not defined (i.e. passed as null) then all countries will be shown.
      listener -
    • initializePageBean

      public void initializePageBean(Map<String,String> initData)
      Specified by:
      initializePageBean in interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
      Overrides:
      initializePageBean in class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
    • getColSpan

      public int getColSpan()
    • setColSpan

      public void setColSpan(int value)
    • getLabelText

      public String getLabelText()
    • setLabelText

      public void setLabelText(String value)
    • getCountryVVS

      public org.eclnt.jsfserver.elements.util.ValidValuesBinding getCountryVVS()
    • getCountryId

      public String getCountryId()
    • setCountryId

      public void setCountryId(String value)
    • getTooltip

      public String getTooltip()
    • setTooltip

      public void setTooltip(String value)
    • getCountryText

      public String getCountryText()
    • getWidth

      public String getWidth()
    • setWidth

      public void setWidth(String value)
    • getWithText

      public boolean getWithText()
    • setWithText

      public void setWithText(boolean withText)
    • isWithImage

      public boolean isWithImage()
    • setWithImage

      public void setWithImage(boolean withImage)
    • getBackground

      public String getBackground()
    • setBackground

      public void setBackground(String value)
    • onAction

      public void onAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • getLogic

      public ICountrySelectionLogic getLogic()
    • setLogic

      public void setLogic(ICountrySelectionLogic logic)