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:
  • Constructor Details

    • CCMatrixDashboard

      public CCMatrixDashboard()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.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

      public String getRasterColor()
    • setRasterColor

      public void setRasterColor(String rasterColor)
    • getPersistId

      public String getPersistId()
    • setPersistId

      public void setPersistId(String persistId)
    • getDropReceive

      public String 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

      public void addItem(org.eclnt.jsfserver.pagebean.IPageBean bean, CCMatrixDashboard.ItemSize size)
    • 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:
      onBeforeRendering in interface org.eclnt.jsfserver.pagebean.IPageBean
      Overrides:
      onBeforeRendering in class org.eclnt.jsfserver.pagebean.PageBean
    • getItems

      public List<CCMatrixDashboard.ItemInfo> getItems()
    • getDynContent

      public org.eclnt.jsfserver.elements.impl.DYNAMICCONTENTBinding getDynContent()
    • getRenderTrigger

      public org.eclnt.jsfserver.elements.util.Trigger getRenderTrigger()
    • getBgpaint

      public String getBgpaint()
    • setBackground

      public void setBackground(String value)
    • getBackground

      public String getBackground()
    • getRounding

      public int getRounding()
    • setRounding

      public void setRounding(int rounding)
    • initializePageBean

      public void initializePageBean(Map<String,String> initData)
      Specified by:
      initializePageBean in interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
      Overrides:
      initializePageBean in class org.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

      public String getCurrentPostionsAsXML()
      Returns:
      The same as getCurrentPositions() but now the result is passed back as JAXB-serialized XML String.
    • getCurrentPositions

      public MatrixDashboardPositions getCurrentPositions()
      Get current positions of items. Only these items are passed back which support interface CCMatrixDashboard.IMatrixDashboardAware.
    • persistCurrentDashboardPositions

      protected void persistCurrentDashboardPositions()