Class CCSplitDashboard

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCSplitDashboard
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 CCSplitDashboard extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • CCSplitDashboard

      public CCSplitDashboard()
  • Method Details

    • createDragSendString

      public static String createDragSendString(String contentType, String contentConfig)
      Utility method for creating the DRAGSEND information that you use for dragging/dropping content into the split dashboard.
    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • prepare

      public void prepare(String persistId, CCSplitDashboard.IListener listener)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getDividerSize

      public int getDividerSize()
      Width/height of the divider between two split areas.
    • setDividerSize

      public void setDividerSize(int dividerSize)
    • getDividerColor

      public String getDividerColor()
      Background color of the divider between two split areas.
    • setDividerColor

      public void setDividerColor(String dividerBackground)
    • getSplitPaneBackground

      public String getSplitPaneBackground()
    • setSplitPaneBackground

      public void setSplitPaneBackground(String splitPaneBackground)
    • getContentPaneBorder

      public String getContentPaneBorder()
    • setContentPaneBorder

      public void setContentPaneBorder(String contentPaneBorder)
    • getContentPanePadding

      public String getContentPanePadding()
    • setContentPanePadding

      public void setContentPanePadding(String contentPanePadding)
    • getCutContentInSplitPane

      public boolean getCutContentInSplitPane()
    • setCutContentInSplitPane

      public void setCutContentInSplitPane(boolean cutContent)
    • getStylevariantContent

      public String getStylevariantContent()
    • setStylevariantContent

      public void setStylevariantContent(String stylevariantContent)
    • getStylevariantSplitPane

      public String getStylevariantSplitPane()
    • setStylevariantSplitPane

      public void setStylevariantSplitPane(String stylevariantSplitPane)
    • getStyleVariantSplitPaneSplit

      public String getStyleVariantSplitPaneSplit()
    • setStyleVariantSplitPaneSplit

      public void setStyleVariantSplitPaneSplit(String styleVariantSplitPaneSplit)
    • getAllowSplitSizingIfDisabled

      public boolean getAllowSplitSizingIfDisabled()
      If set to true then the sizing of the individual areas is enabled even though the whole page bean component is disabled.
    • setAllowSplitSizingIfDisabled

      public void setAllowSplitSizingIfDisabled(boolean allowSplitSizingIfDisabled)
    • getOneTouchExpandable

      public boolean getOneTouchExpandable()
      If set to true then the internally used SPLITPANEs are switched to mode "one-touch-expandable": little icons are shown so that the user can minimize/maximize the content with one click/touch.
    • setOneTouchExpandable

      public void setOneTouchExpandable(boolean oneTouchExpandable)
    • getContent

      public org.eclnt.jsfserver.elements.impl.ROWDYNAMICCONTENTBinding getContent()
    • addSplitContent

      public void addSplitContent(CCSplitDashboard.ENUMAddPosition addPosition, String type, String config)
    • addSplitContent

      public void addSplitContent(CCSplitDashboard.ENUMAddPosition addPosition, org.eclnt.jsfserver.pagebean.IPageBean pageBean, String type, String config)
    • removeSplitContent

      public void removeSplitContent(String splitContentId)
      Removing content from dashboard. Each content area is identified by some id at runtime.
    • removeSplitContent

      public void removeSplitContent(org.eclnt.jsfserver.pagebean.IPageBean pageBean)
      Removing content from dashboard by passing the page bean that was created by the outside application.
    • findPageBeanForId

      public org.eclnt.jsfserver.pagebean.IPageBean findPageBeanForId(String id)
      At runtime each page bean receives some unique id. The id e.g. is passed in DRAGSEND-strings when dragging/dropping existing pages. Returns null if no corresponding page bean was found.
    • createPageBeanByDropReceiveEvent

      public void createPageBeanByDropReceiveEvent(org.eclnt.jsfserver.elements.events.BaseActionEventDrop dropEvent)
    • transferToSplitInfo

      public SplitInfo transferToSplitInfo()
      Transfers the current rendering state into SplitInfo instance.
    • setSplitInfo

      public void setSplitInfo(SplitInfo splitInfo)
      Directly set the content of the clip board. The current content of the dashboard is removed and replaced.
    • onBeforeRendering

      public void onBeforeRendering()
      Specified by:
      onBeforeRendering in interface org.eclnt.jsfserver.pagebean.IPageBean
      Overrides:
      onBeforeRendering in class org.eclnt.jsfserver.pagebean.PageBean
    • render

      public void render()
      Trigger the rendering of the current splitContent (available by getSplitContent().
    • getSplitContent

      public CCSplitDashboard.SplitContent getSplitContent()
      Internal data structure that represents the current rendering content of the split dashboard.
    • createNewSplitContent

      protected CCSplitDashboard.SplitContent createNewSplitContent(org.eclnt.jsfserver.elements.events.BaseActionEventDrop e)
    • save

      protected void save()
    • readSplitInfo

      protected void readSplitInfo()
    • triggerRendering

      protected void triggerRendering()
    • positionNewSplitContent

      protected void positionNewSplitContent(CCSplitDashboard.ENUMAddPosition addPosition, CCSplitDashboard.SplitContent scToAdd)
    • addOnTopRight

      protected void addOnTopRight(CCSplitDashboard.SplitContent scToAdd)