Package org.eclnt.ccaddons.pbc
Class CCObjectListWithImage
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCObjectListWithImage
- All Implemented Interfaces:
Serializable
,ICCInitialize
,ICCObjectList<CCObjectListWithImage>
,org.eclnt.jsfserver.elements.IConfiguredByLayout
,org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
,org.eclnt.jsfserver.pagebean.IPageBean
,org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject
public class CCObjectListWithImage
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements ICCObjectList<CCObjectListWithImage>, Serializable, ICCInitialize
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static class
static class
static class
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
Nested classes/interfaces inherited from interface org.eclnt.ccaddons.pbc.ICCObjectList
ICCObjectList.DefaultCCObjectListListener<PBCLASS extends org.eclnt.jsfserver.pagebean.IPageBean>, ICCObjectList.ICCObjectListListener<PBCLASS extends org.eclnt.jsfserver.pagebean.IPageBean>
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds one itemvoid
clear()
Clears content of grid.void
Fills grid with itemsBorder of outest pane.org.eclnt.jsfserver.elements.impl.FIXGRIDListBinding<CCObjectListWithImage.GridItem>
getGrid()
Background color of items.Style variant that is assigned to the outest pane.boolean
boolean
By default an image is rendered left of the data.void
void
initializePageBean
(Map<String, String> initData) openAsModalPopup
(org.eclnt.jsfserver.pagebean.IPageBean caller, String title, int width, int height, List<CCObjectListWithImage.ListItemData> items) Convenience method top open bean as modal popup dialog.openAsModelessPopup
(org.eclnt.jsfserver.pagebean.IPageBean caller, String title, int width, int height, List<CCObjectListWithImage.ListItemData> items) Convenience method top open bean as modeless popup dialog.openValueHelpPopup
(org.eclnt.jsfserver.pagebean.IPageBean caller, int width, int height) Open as lightweight value help popup.void
preselectItem
(int index) Selects the item and moves the focus to the icon.void
Selects the item and moves the focus to the icon.void
void
void
setItemPaneBackgroundColor
(String value) void
void
setPaneStyleVariant
(String value) void
setSingleClickExecute
(boolean value) void
setWithImage
(boolean value) 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
-
CCObjectListWithImage
public CCObjectListWithImage()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPage
in interfaceorg.eclnt.jsfserver.pagebean.IPageBean
- Specified by:
getRootExpressionUsedInPage
in classorg.eclnt.jsfserver.pagebean.PageBean
-
openAsModalPopup
public static CCObjectListWithImage.ModalPopupReturn openAsModalPopup(org.eclnt.jsfserver.pagebean.IPageBean caller, String title, int width, int height, List<CCObjectListWithImage.ListItemData> items) Convenience method top open bean as modal popup dialog. -
openAsModelessPopup
public static CCObjectListWithImage.ModelessPopupReturn openAsModelessPopup(org.eclnt.jsfserver.pagebean.IPageBean caller, String title, int width, int height, List<CCObjectListWithImage.ListItemData> items) Convenience method top open bean as modeless popup dialog. -
openValueHelpPopup
public static CCObjectListWithImage.ModelessPopupReturn openValueHelpPopup(org.eclnt.jsfserver.pagebean.IPageBean caller, int width, int height) Open as lightweight value help popup. -
setListener
- Specified by:
setListener
in interfaceICCObjectList<CCObjectListWithImage>
-
initialize
public void initialize()- Specified by:
initialize
in interfaceICCInitialize
-
refreshList
public void refreshList()- Specified by:
refreshList
in interfaceICCObjectList<CCObjectListWithImage>
-
getGrid
public org.eclnt.jsfserver.elements.impl.FIXGRIDListBinding<CCObjectListWithImage.GridItem> getGrid() -
clear
public void clear()Clears content of grid. -
fillWithItems
Fills grid with items -
addItem
Adds one item -
preselectItem
public void preselectItem(int index) Selects the item and moves the focus to the icon. -
preselectItem
Selects the item and moves the focus to the icon. -
initializePageBean
- Specified by:
initializePageBean
in interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent
- Overrides:
initializePageBean
in classorg.eclnt.jsfserver.pagebean.component.PageBeanComponent
-
getPaneStyleVariant
Style variant that is assigned to the outest pane. -
setPaneStyleVariant
-
getItemPaneBackgroundColor
Background color of items. -
setItemPaneBackgroundColor
-
getWithImage
public boolean getWithImage()By default an image is rendered left of the data. By defining false the image is not drawn and the list just contains items with two texts. -
setWithImage
public void setWithImage(boolean value) -
getBorder
Border of outest pane. -
setBorder
-
getSingleClickExecute
public boolean getSingleClickExecute() -
setSingleClickExecute
public void setSingleClickExecute(boolean value)
-