Package org.eclnt.ccaddons.pbc
Class CCWorkplaceFunctions
java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCWorkplaceFunctions
- 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
- Direct Known Subclasses:
CCWorkplaceFunctionsDark
public class CCWorkplaceFunctions
extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent
implements Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classDefault implementation forCCWorkplaceFunctions.IListener- which provides default implementations for all methods.static interfaceWe recommend to extend your implementation fromCCWorkplaceFunctions.DefaultListener, so that new methods in IListener will not cause compilation problems on your side.Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap -
Field Summary
Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean
m_pageModifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CCWorkplaceFunctionTreeFactory method for creating instances of inner function tree.Get info about current outlookbar items/sections that are currently shown in the workplace.intList<org.eclnt.jsfserver.elements.impl.FIXGRIDTreeBinding<CCWorkplaceFunctionTree.FunctionNode>>getTrees()Direct access to all the function trees that are managed inside the workplace that is currently loadedbooleanDirect access to all the function trees UIs that are managed inside the workplace that is currently loadedvoidprepare(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode, CCWorkplaceFunctions.IListener listener) searchFunctionNodes(String searchText) Search for nodes inside the function trees.voidselectObItem(int index) Select one of the outlook bar items.voidsetObIndex(int obIndex) voidsetSeparatorColor(String value) voidsetStylevariantOutlookBar(String value) voidsetStylevariantOutlookBarContent(String stylevariantOutlookBarContent) voidvoidsetWithMarkingOpenedNodes(boolean withMarkingOpenedNodes) If set to true then nodes will be marked (font switched to weight "bold") in the functions trees for these nodes that are currently opened inside the workplace.voidtakeOver(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode) Pass the hierarchy of functions that is to be displayed inside the components.Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent
getLit, initializePageBean, initializePageBeanConfigItemsMethods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolverMethods inherited from class org.eclnt.jsfserver.pagebean.PageBean
buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout
addConfiguredByLayoutListener, removeConfiguredByLayoutListenerMethods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean
closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpressionMethods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent
initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
-
Constructor Details
-
CCWorkplaceFunctions
public CCWorkplaceFunctions(org.eclnt.workplace.IWorkpageDispatcher owner)
-
-
Method Details
-
getRootExpressionUsedInPage
- Specified by:
getRootExpressionUsedInPagein interfaceorg.eclnt.jsfserver.pagebean.IPageBean- Specified by:
getRootExpressionUsedInPagein classorg.eclnt.jsfserver.pagebean.PageBean
-
getObIndex
public int getObIndex() -
setObIndex
public void setObIndex(int obIndex) -
prepare
public void prepare(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode, CCWorkplaceFunctions.IListener listener) -
getStylevariantOutlookBar
-
setStylevariantOutlookBar
-
getStylevariantOutlookBarItem
-
setStylevariantOutlookBarItem
-
getStylevariantOutlookBarContent
-
setStylevariantOutlookBarContent
-
getSeparatorColor
-
setSeparatorColor
-
selectObItem
public void selectObItem(int index) Select one of the outlook bar items. This function is invoked internally by the user - but maybe also invoked from outside. -
getBarItems
Get info about current outlookbar items/sections that are currently shown in the workplace. -
getWorkplaceFunctionTreeUIs
Direct access to all the function trees UIs that are managed inside the workplace that is currently loaded -
getTrees
public List<org.eclnt.jsfserver.elements.impl.FIXGRIDTreeBinding<CCWorkplaceFunctionTree.FunctionNode>> getTrees()Direct access to all the function trees that are managed inside the workplace that is currently loaded -
takeOver
public void takeOver(org.eclnt.workplace.WorkplaceFunctionTreeInfoNode rootNode) Pass the hierarchy of functions that is to be displayed inside the components. Functions are distributed to OUTLOOKBAR (first level) and then into a tree (second level). -
searchFunctionNodes
Search for nodes inside the function trees. -
setWithMarkingOpenedNodes
public void setWithMarkingOpenedNodes(boolean withMarkingOpenedNodes) If set to true then nodes will be marked (font switched to weight "bold") in the functions trees for these nodes that are currently opened inside the workplace. -
getWithMarkingOpenedNodes
public boolean getWithMarkingOpenedNodes() -
createWorkplaceFunctionTree
Factory method for creating instances of inner function tree.
-