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 TypeMethodDescriptionint
org.eclnt.jsfserver.elements.util.ValidValuesBinding
getLogic()
getWidth()
boolean
void
initializePageBean
(Map<String, String> initData) 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
setBackground
(String value) void
setColSpan
(int value) void
setCountryId
(String value) void
setLabelText
(String value) void
setLogic
(ICountrySelectionLogic logic) void
setTooltip
(String value) 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
- Specified by:
getRootExpressionUsedInPage
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Specified by:
getRootExpressionUsedInPage
in 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:
initializePageBean
in interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent
- Overrides:
initializePageBean
in 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
-