Class WorkplaceFoldableFunctionTrees

All Implemented Interfaces:
Serializable, IPageBean, IDynamicContentBindingObject

public class WorkplaceFoldableFunctionTrees extends WorkpageDispatchedPageBean implements Serializable
Page bean that renders a function tree in the following way:

1. the first level functions are rendered as buttons
2. the second level functions are rendered as trees

Each button is associated to one tree and opens/closes the tree. Multiple trees can be opened at the same time.
See Also:
  • Constructor Details

    • WorkplaceFoldableFunctionTrees

      public WorkplaceFoldableFunctionTrees(IWorkpageDispatcher workpageDispatcher)
  • Method Details

    • getPageName

      public String getPageName()
      Description copied from interface: IPageBean
      Name of page that is managed by the bean. This can either be a static return value that stays fix for the whole lifecycle of the bean, or it may also be a value that changed - in case there are several pages that are possible to be managed by the page bean.
      Specified by:
      getPageName in interface IPageBean
      Specified by:
      getPageName in class PageBean
    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Description copied from interface: IPageBean
      Inside the page definition the bean is addressed via a certain root expression - e.g. "#{d.XYZBean}". The page bean management requires this expression in order to execute certain expression replacements when loading the page at runtime.
      Specified by:
      getRootExpressionUsedInPage in interface IPageBean
      Specified by:
      getRootExpressionUsedInPage in class PageBean
    • prepare

      public void prepare(WorkplaceFunctionTreeInfoNode topNode)
      Renders the function tree with the topNode that is passed as parameter.
    • prepareOpenArea

      public void prepareOpenArea(int index)
      Opens up an area (area == button and corresponding tree). By default all areas are closed at the beginning. You may open one or several areas. - This method may be called after having passed the tree using method prepare(WorkplaceFunctionTreeInfoNode),
    • getAreas

    • getDynContent

      public ROWDYNAMICCONTENTBinding getDynContent()
    • getAnimationTrigger

      public Trigger getAnimationTrigger()
    • setFunctionNodeActionListener

      public void setFunctionNodeActionListener(WorkplaceFunctionTree.IFunctionNodeActionListener functionNodeActionListener)
    • getFunctionNodeActionListener

      public WorkplaceFunctionTree.IFunctionNodeActionListener getFunctionNodeActionListener()
    • getFunctionNodeDefaultDropReceive

      public String getFunctionNodeDefaultDropReceive()
    • setFunctionNodeDefaultDropReceive

      public void setFunctionNodeDefaultDropReceive(String functionNodeDefaultDropReceive)