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
Nested Classes -
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier -
Constructor Summary
Constructors -
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.voidprepare(WorkplaceFunctionTreeInfoNode topNode) Renders the function tree with the topNode that is passed as parameter.voidprepareOpenArea(int index) Opens up an area (area == button and corresponding tree).voidsetFunctionNodeActionListener(WorkplaceFunctionTree.IFunctionNodeActionListener functionNodeActionListener) voidsetFunctionNodeDefaultDropReceive(String functionNodeDefaultDropReceive) Methods inherited from class org.eclnt.workplace.WorkpageDispatchedPageBean
getOwningDispatcher, getWorkpage, getWorkpageContainer, setDispatcherMethods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression
-
Constructor Details
-
WorkplaceFoldableFunctionTrees
-
-
Method Details
-
getPageName
Description copied from interface:IPageBeanName 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:
getPageNamein interfaceIPageBean- Specified by:
getPageNamein classPageBean
-
getRootExpressionUsedInPage
Description copied from interface:IPageBeanInside 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:
getRootExpressionUsedInPagein interfaceIPageBean- Specified by:
getRootExpressionUsedInPagein 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
-