Package org.eclnt.ccaddons.pbc
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 ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionintorg.eclnt.jsfserver.elements.util.ValidValuesBindinggetLogic()getWidth()booleanvoidinitializePageBean(Map<String, String> initData) booleanvoidonAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidprepare(Locale locale, List<String> countries, boolean withText, boolean withImage, CCCountrySelection.IListener listener) voidsetBackground(String value) voidsetColSpan(int value) voidsetCountryId(String value) voidsetLabelText(String value) voidsetLogic(ICountrySelectionLogic logic) voidsetTooltip(String value) voidvoidsetWithImage(boolean withImage) voidsetWithText(boolean withText) Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBeanConfigItemsMethods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolverMethods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListenerMethods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpressionMethods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCCountrySelection
public CCCountrySelection()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein classorg.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
- Specified by:
initializePageBeanin interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent- Overrides:
initializePageBeanin classorg.eclnt.jsfserver.pagebean.component.PageBeanComponent
-
getColSpan
public int getColSpan() -
setColSpan
public void setColSpan(int value) -
getLabelText
-
setLabelText
-
getCountryVVS
public org.eclnt.jsfserver.elements.util.ValidValuesBinding getCountryVVS() -
getCountryId
-
setCountryId
-
getTooltip
-
setTooltip
-
getCountryText
-
getWidth
-
setWidth
-
getWithText
public boolean getWithText() -
setWithText
public void setWithText(boolean withText) -
isWithImage
public boolean isWithImage() -
setWithImage
public void setWithImage(boolean withImage) -
getBackground
-
setBackground
-
onAction
public void onAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
getLogic
-
setLogic
-