Package org.eclnt.ccaddons.pbc
Class CCMatrixDashboard
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCMatrixDashboard
- 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 CCMatrixDashboard
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfaceAdditional interface for page beans containing information that is used within the CCDashboard Processing.classPer item one ItemInfo object is used to keep and manage the runtime information behind the item.static enumstatic 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.LitMap -
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(org.eclnt.jsfserver.pagebean.IPageBean bean) Add item without expliclty positioning it.voidaddItem(org.eclnt.jsfserver.pagebean.IPageBean bean, int x, int y, int width, int height) Add item and explicitly position it.voidaddItem(org.eclnt.jsfserver.pagebean.IPageBean bean, CCMatrixDashboard.ItemSize size) Get current positions of items.org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBindinggetItems()org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBindingintintorg.eclnt.jsfserver.elements.util.Triggerintorg.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBindingorg.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBindingorg.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBindingvoidinitializePageBean(Map<String, String> initData) voidvoidonPaintAreaAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) protected voidvoidprepare(CCMatrixDashboard.IListener listener, boolean withDefaultPopupMenu, String persistId) voidremoveItem(org.eclnt.jsfserver.pagebean.IPageBean bean) voidresizeToLarge(org.eclnt.jsfserver.pagebean.IPageBean bean) voidresizeToSmall(org.eclnt.jsfserver.pagebean.IPageBean bean) voidresizeToTiny(org.eclnt.jsfserver.pagebean.IPageBean bean) voidresizeToWide(org.eclnt.jsfserver.pagebean.IPageBean bean) voidsetBackground(String value) voidsetPadding(int padding) voidsetPersistId(String persistId) voidsetRaster(int raster) voidsetRasterColor(String rasterColor) voidsetRounding(int rounding) 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, 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, openModalPopup, openModelessPopup, setActualRootExpressionMethods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCMatrixDashboard
public CCMatrixDashboard()
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein classorg.eclnt.jsfserver.pagebean.PageBean
-
getLargePopupMenu
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getLargePopupMenu() -
getWidePopupMenu
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getWidePopupMenu() -
getSmallPopupMenu
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getSmallPopupMenu() -
getTinyPopupMenu
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getTinyPopupMenu() -
getPadding
public int getPadding() -
setPadding
public void setPadding(int padding) -
getRaster
public int getRaster() -
setRaster
public void setRaster(int raster) -
getRasterColor
-
setRasterColor
-
getPersistId
-
setPersistId
-
getDropReceive
-
addItem
public void addItem(org.eclnt.jsfserver.pagebean.IPageBean bean, int x, int y, int width, int height) Add item and explicitly position it. -
addItem
public void addItem(org.eclnt.jsfserver.pagebean.IPageBean bean) Add item without expliclty positioning it. The system tries to find a persisted position, if available. If not available then the item is positioned automatically at the end of the matrix. -
addItem
-
removeItem
public void removeItem(org.eclnt.jsfserver.pagebean.IPageBean bean) -
prepare
public void prepare(CCMatrixDashboard.IListener listener, boolean withDefaultPopupMenu, String persistId) -
onBeforeRendering
public void onBeforeRendering()- Specified by:
onBeforeRenderingin interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Overrides:
onBeforeRenderingin classorg.eclnt.jsfserver.pagebean.PageBean
-
getItems
-
getDynContent
public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getDynContent() -
getRenderTrigger
public org.eclnt.jsfserver.elements.util.Trigger getRenderTrigger() -
getBgpaint
-
setBackground
-
getBackground
-
getRounding
public int getRounding() -
setRounding
public void setRounding(int rounding) -
initializePageBean
- Specified by:
initializePageBeanin interfaceorg.eclnt.jsfserver.pagebean.component.IPageBeanComponent- Overrides:
initializePageBeanin classorg.eclnt.jsfserver.pagebean.component.PageBeanComponent
-
onPaintAreaAction
public void onPaintAreaAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) -
resizeToTiny
public void resizeToTiny(org.eclnt.jsfserver.pagebean.IPageBean bean) -
resizeToSmall
public void resizeToSmall(org.eclnt.jsfserver.pagebean.IPageBean bean) -
resizeToWide
public void resizeToWide(org.eclnt.jsfserver.pagebean.IPageBean bean) -
resizeToLarge
public void resizeToLarge(org.eclnt.jsfserver.pagebean.IPageBean bean) -
getCurrentPostionsAsXML
- Returns:
- The same as
getCurrentPositions()but now the result is passed back as JAXB-serialized XML String.
-
getCurrentPositions
Get current positions of items. Only these items are passed back which support interfaceCCMatrixDashboard.IMatrixDashboardAware. -
persistCurrentDashboardPositions
protected void persistCurrentDashboardPositions()
-