Package org.eclnt.ccaddons.pbc
Class CCWorkplaceFunctionTree.FunctionNode
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
org.eclnt.ccaddons.pbc.CCWorkplaceFunctionTree.FunctionNode
- All Implemented Interfaces:
Serializable,Comparable,org.eclnt.jsfserver.elements.impl.IFIXGRIDItem,org.eclnt.workplace.IWorkpageStartInfo
- Enclosing class:
- CCWorkplaceFunctionTree
public class CCWorkplaceFunctionTree.FunctionNode
extends org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
implements org.eclnt.workplace.IWorkpageStartInfo, Serializable
Represents function in function tree. The node is either a folder
node - then it just provides a text and (optionally) an image. Or it
is a node containing workpage start information.
- See Also:
-
Field Summary
Fields inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
STATUS_CLOSED, STATUS_ENDNODE, STATUS_OPENEDFields inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
ROWHEIGHT_DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionFunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode) This constructor is used when creating folder nodes.FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode, String page) This constructor is used when creating page nodes - containing start information.FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode, org.eclnt.workplace.WorkpageStartInfo wpsi) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Returns drag-send information of the node.booleangetFont()Calculation of font: the currently opened items are rendered with font-weight "bold"getId()getImage()booleanbooleanbooleanintgetText()The text may be an expression.org.eclnt.workplace.WorkpageStartInfobooleanvoidvoidvoidonToggle()voidprocessTREENDOEAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) voidremoveParam(String paramName) voidsetAppReference1(String appReference1) voidsetAppReference2(String appReference2) voidsetAppReference3(String appReference3) voidsetClientName(String clientName) voidsetCloseSupported(boolean value) voidvoidsetComment(String comment) voidsetCommentImage(String commentImage) voidsetDecorated(boolean value) voidsetDragSend(String value) You can explicitly add drag-send information to the node.voidsetDropReceive(String value) You can explicitly set the DROPRECEIVE statement within the function node - so that you can drag&drop information into the workplace function tree.voidsetExcludeFromSavePerspective(boolean excludeFromSavePerspective) voidsetFunctionClassName(String functionClassName) voidvoidvoidsetJspPage(String jspPage) voidsetNodeTooltip(String nodeTooltip) voidsetOpenAsPopupByDefault(boolean value) voidsetOpenMultipleInstances(boolean value) voidsetPageBeanName(String pageBeanName) voidvoidsetPopupSupported(boolean value) voidsetSelectorBgpaint(String selectorBgpaint) voidsetSelectorTitle(String value) voidvoidvoidsetWindowTitle(String value) Methods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
addSubNode, addSubNode, appendVisibleSubNodes, checkIfNodeHasAsParent, closeAllNodes, collapseNode, collapseNodeAndSubNodes, compareTo, expandNode, expandNodeAndSubNodes, getAllContainedNodes, getChildNodes, getLevel, getLevelInt, getLineDrawing, getParentNode, getRequestfocus, getStatus, getStatusInt, getTextForExport, moveSubNodeBehind, moveSubNodeInFront, moveSubNodeOneDown, moveSubNodeOneUp, moveSubNodesOneDown, moveSubNodesOneUp, moveSubNodeToFirst, moveSubNodeToLast, openAllParentNodes, removeAllChildNodes, removeAllChildNodes, removeNode, requestFocus, setLevel, setStatus, toggleNode, toggleNodeAndScrollMethods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDItem
assignRowComponent, checkIfCellIsHighlighted, checkIfCellsAreHighlighted, getChangeIndex, getHighlightedCells, getOriginalIndex, getRequestFocus, getRowHeight, getSelected, highlightCell, onRowDeselect, onRowDrop, onRowPopupMenuItem, onRowPopupMenuLoad, setOriginalIndex, setRowHeight, setSelected, unhighlightAllCells, unhighlightCell, unrequestFocus, updateSelectedInternally
-
Constructor Details
-
FunctionNode
public FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode) This constructor is used when creating folder nodes. -
FunctionNode
This constructor is used when creating page nodes - containing start information. -
FunctionNode
public FunctionNode(org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem parentNode, org.eclnt.workplace.WorkpageStartInfo wpsi)
-
-
Method Details
-
processTREENDOEAction
public void processTREENDOEAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event) - Overrides:
processTREENDOEActionin classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
getSortIndex
public int getSortIndex()- Specified by:
getSortIndexin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setClientName
-
setDecorated
public void setDecorated(boolean value) - Specified by:
setDecoratedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setOpenMultipleInstances
public void setOpenMultipleInstances(boolean value) - Specified by:
setOpenMultipleInstancesin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getWindowTitle
- Specified by:
getWindowTitlein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
isDecorated
public boolean isDecorated()- Specified by:
isDecoratedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getOpenMultipleInstances
public boolean getOpenMultipleInstances()- Specified by:
getOpenMultipleInstancesin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getOpenAsPopupByDefault
public boolean getOpenAsPopupByDefault()- Specified by:
getOpenAsPopupByDefaultin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getJspPage
- Specified by:
getJspPagein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getId
- Specified by:
getIdin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getParam
- Specified by:
getParamin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getParamMap
- Specified by:
getParamMapin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setFunctionClassName
- Specified by:
setFunctionClassNamein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getFunctionClassName
- Specified by:
getFunctionClassNamein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getClientName
- Specified by:
getClientNamein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
onRowExecute
public void onRowExecute()- Specified by:
onRowExecutein interfaceorg.eclnt.jsfserver.elements.impl.IFIXGRIDItem- Overrides:
onRowExecutein classorg.eclnt.jsfserver.elements.impl.FIXGRIDItem
-
onToggle
public void onToggle()- Overrides:
onTogglein classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
onRowSelect
public void onRowSelect()- Specified by:
onRowSelectin interfaceorg.eclnt.jsfserver.elements.impl.IFIXGRIDItem- Overrides:
onRowSelectin classorg.eclnt.jsfserver.elements.impl.FIXGRIDItem
-
getDragSend
Returns drag-send information of the node. Please note this is not a 100% counter-part ofsetDragSend(String): each node may get assigned some workplace-internal drag-send information in addition to what you may pass within the setDragSend method. -
setText
- Specified by:
setTextin interfaceorg.eclnt.workplace.IWorkpageStartInfo- Overrides:
setTextin classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
setImage
- Specified by:
setImagein interfaceorg.eclnt.workplace.IWorkpageStartInfo- Overrides:
setImagein classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
setId
- Specified by:
setIdin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getText
- Specified by:
getTextin interfaceorg.eclnt.workplace.IWorkpageStartInfo- Overrides:
getTextin classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
getTextOriginal
The text may be an expression. While getText() returns the resolved expression, this method returns the original text. -
getImage
- Specified by:
getImagein interfaceorg.eclnt.workplace.IWorkpageStartInfo- Overrides:
getImagein classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
getSelectorBgpaint
- Specified by:
getSelectorBgpaintin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setSelectorBgpaint
- Specified by:
setSelectorBgpaintin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setParam
- Specified by:
setParamin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
removeParam
- Specified by:
removeParamin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setJspPage
- Specified by:
setJspPagein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setPopupSupported
public void setPopupSupported(boolean value) - Specified by:
setPopupSupportedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCloseSupported
public void setCloseSupported(boolean value) - Specified by:
setCloseSupportedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setOpenAsPopupByDefault
public void setOpenAsPopupByDefault(boolean value) - Specified by:
setOpenAsPopupByDefaultin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setSelectorTitle
- Specified by:
setSelectorTitlein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setWindowTitle
- Specified by:
setWindowTitlein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setDropReceive
You can explicitly set the DROPRECEIVE statement within the function node - so that you can drag&drop information into the workplace function tree. -
getDropReceive
-
setDragSend
You can explicitly add drag-send information to the node. -
getWorkpageStartInfo
public org.eclnt.workplace.WorkpageStartInfo getWorkpageStartInfo() -
setStartSubWorkpageContainerId
- Specified by:
setStartSubWorkpageContainerIdin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getPopupSuppoted
public boolean getPopupSuppoted()- Specified by:
getPopupSuppotedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCloseSupported
public boolean getCloseSupported()- Specified by:
getCloseSupportedin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getStartSubWorkpageContainerId
- Specified by:
getStartSubWorkpageContainerIdin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getSelectorTitle
- Specified by:
getSelectorTitlein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setPageBeanName
- Specified by:
setPageBeanNamein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getPageBeanName
- Specified by:
getPageBeanNamein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setNodeTooltip
-
getTooltip
-
getExcludeFromSavePerspective
public boolean getExcludeFromSavePerspective()- Specified by:
getExcludeFromSavePerspectivein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setExcludeFromSavePerspective
public void setExcludeFromSavePerspective(boolean excludeFromSavePerspective) - Specified by:
setExcludeFromSavePerspectivein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getComment
- Specified by:
getCommentin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setComment
- Specified by:
setCommentin interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCommentImage
- Specified by:
getCommentImagein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCommentImage
- Specified by:
setCommentImagein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCode
- Specified by:
getCodein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCode
- Specified by:
setCodein interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference1
- Specified by:
getAppReference1in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference1
- Specified by:
setAppReference1in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference2
- Specified by:
getAppReference2in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference2
- Specified by:
setAppReference2in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference3
- Specified by:
getAppReference3in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference3
- Specified by:
setAppReference3in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getFont
Calculation of font: the currently opened items are rendered with font-weight "bold"- Returns:
-