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 TypeClassDescriptionclassstatic classstatic classstatic classNested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMapNested 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 TypeMethodDescriptionvoidAdds one itemvoidclear()Clears content of grid.voidFills 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.booleanbooleanBy default an image is rendered left of the data.voidvoidinitializePageBean(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.voidpreselectItem(int index) Selects the item and moves the focus to the icon.voidSelects the item and moves the focus to the icon.voidvoidvoidsetItemPaneBackgroundColor(String value) voidvoidsetPaneStyleVariant(String value) voidsetSingleClickExecute(boolean value) voidsetWithImage(boolean value) 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
-
CCObjectListWithImage
public CCObjectListWithImage()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein 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:
setListenerin interfaceICCObjectList<CCObjectListWithImage>
-
initialize
public void initialize()- Specified by:
initializein interfaceICCInitialize
-
refreshList
public void refreshList()- Specified by:
refreshListin 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:
initializePageBeanin interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent- Overrides:
initializePageBeanin 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)
-