Package org.eclnt.workplace
Class WorkplaceFoldableFunctionTrees
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.managedbean.DefaultDispatchedPageBean
org.eclnt.workplace.WorkpageDispatchedPageBean
org.eclnt.workplace.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.
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:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAreas()
Name of page that is managed by the bean.Inside the page definition the bean is addressed via a certain root expression - e.g.void
prepare
(WorkplaceFunctionTreeInfoNode topNode) Renders the function tree with the topNode that is passed as parameter.void
prepareOpenArea
(int index) Opens up an area (area == button and corresponding tree).void
setFunctionNodeActionListener
(WorkplaceFunctionTree.IFunctionNodeActionListener functionNodeActionListener) void
setFunctionNodeDefaultDropReceive
(String functionNodeDefaultDropReceive) Methods inherited from class org.eclnt.workplace.WorkpageDispatchedPageBean
getOwningDispatcher, getWorkpage, getWorkpageContainer, setDispatcher
Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
-
Constructor Details
-
WorkplaceFoldableFunctionTrees
-
-
Method Details
-
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 interfaceIPageBean
- Specified by:
getPageName
in classPageBean
-
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 interfaceIPageBean
- Specified by:
getRootExpressionUsedInPage
in classPageBean
-
prepare
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 methodprepare(WorkplaceFunctionTreeInfoNode)
, -
getAreas
-
getDynContent
-
getAnimationTrigger
-
setFunctionNodeActionListener
public void setFunctionNodeActionListener(WorkplaceFunctionTree.IFunctionNodeActionListener functionNodeActionListener) -
getFunctionNodeActionListener
-
getFunctionNodeDefaultDropReceive
-
setFunctionNodeDefaultDropReceive
-