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_OPENED
Fields 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 TypeMethodDescriptionboolean
getCode()
Returns drag-send information of the node.boolean
getFont()
Calculation of font: the currently opened items are rendered with font-weight "bold"getId()
getImage()
boolean
boolean
boolean
int
getText()
The text may be an expression.org.eclnt.workplace.WorkpageStartInfo
boolean
void
void
void
onToggle()
void
processTREENDOEAction
(org.eclnt.jsfserver.base.faces.event.ActionEvent event) void
removeParam
(String paramName) void
setAppReference1
(String appReference1) void
setAppReference2
(String appReference2) void
setAppReference3
(String appReference3) void
setClientName
(String clientName) void
setCloseSupported
(boolean value) void
void
setComment
(String comment) void
setCommentImage
(String commentImage) void
setDecorated
(boolean value) void
setDragSend
(String value) You can explicitly add drag-send information to the node.void
setDropReceive
(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.void
setExcludeFromSavePerspective
(boolean excludeFromSavePerspective) void
setFunctionClassName
(String functionClassName) void
void
void
setJspPage
(String jspPage) void
setNodeTooltip
(String nodeTooltip) void
setOpenAsPopupByDefault
(boolean value) void
setOpenMultipleInstances
(boolean value) void
setPageBeanName
(String pageBeanName) void
void
setPopupSupported
(boolean value) void
setSelectorBgpaint
(String selectorBgpaint) void
setSelectorTitle
(String value) void
void
void
setWindowTitle
(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, toggleNodeAndScroll
Methods 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:
processTREENDOEAction
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
getSortIndex
public int getSortIndex()- Specified by:
getSortIndex
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setClientName
-
setDecorated
public void setDecorated(boolean value) - Specified by:
setDecorated
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setOpenMultipleInstances
public void setOpenMultipleInstances(boolean value) - Specified by:
setOpenMultipleInstances
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getWindowTitle
- Specified by:
getWindowTitle
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
isDecorated
public boolean isDecorated()- Specified by:
isDecorated
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getOpenMultipleInstances
public boolean getOpenMultipleInstances()- Specified by:
getOpenMultipleInstances
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getOpenAsPopupByDefault
public boolean getOpenAsPopupByDefault()- Specified by:
getOpenAsPopupByDefault
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getJspPage
- Specified by:
getJspPage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getId
- Specified by:
getId
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getParam
- Specified by:
getParam
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getParamMap
- Specified by:
getParamMap
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setFunctionClassName
- Specified by:
setFunctionClassName
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getFunctionClassName
- Specified by:
getFunctionClassName
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getClientName
- Specified by:
getClientName
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
onRowExecute
public void onRowExecute()- Specified by:
onRowExecute
in interfaceorg.eclnt.jsfserver.elements.impl.IFIXGRIDItem
- Overrides:
onRowExecute
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDItem
-
onToggle
public void onToggle()- Overrides:
onToggle
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
onRowSelect
public void onRowSelect()- Specified by:
onRowSelect
in interfaceorg.eclnt.jsfserver.elements.impl.IFIXGRIDItem
- Overrides:
onRowSelect
in 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:
setText
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
- Overrides:
setText
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
setImage
- Specified by:
setImage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
- Overrides:
setImage
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
setId
- Specified by:
setId
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getText
- Specified by:
getText
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
- Overrides:
getText
in 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:
getImage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
- Overrides:
getImage
in classorg.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
-
getSelectorBgpaint
- Specified by:
getSelectorBgpaint
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setSelectorBgpaint
- Specified by:
setSelectorBgpaint
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setParam
- Specified by:
setParam
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
removeParam
- Specified by:
removeParam
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setJspPage
- Specified by:
setJspPage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setPopupSupported
public void setPopupSupported(boolean value) - Specified by:
setPopupSupported
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCloseSupported
public void setCloseSupported(boolean value) - Specified by:
setCloseSupported
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setOpenAsPopupByDefault
public void setOpenAsPopupByDefault(boolean value) - Specified by:
setOpenAsPopupByDefault
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setSelectorTitle
- Specified by:
setSelectorTitle
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setWindowTitle
- Specified by:
setWindowTitle
in 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:
setStartSubWorkpageContainerId
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getPopupSuppoted
public boolean getPopupSuppoted()- Specified by:
getPopupSuppoted
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCloseSupported
public boolean getCloseSupported()- Specified by:
getCloseSupported
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getStartSubWorkpageContainerId
- Specified by:
getStartSubWorkpageContainerId
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getSelectorTitle
- Specified by:
getSelectorTitle
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setPageBeanName
- Specified by:
setPageBeanName
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getPageBeanName
- Specified by:
getPageBeanName
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setNodeTooltip
-
getTooltip
-
getExcludeFromSavePerspective
public boolean getExcludeFromSavePerspective()- Specified by:
getExcludeFromSavePerspective
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setExcludeFromSavePerspective
public void setExcludeFromSavePerspective(boolean excludeFromSavePerspective) - Specified by:
setExcludeFromSavePerspective
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getComment
- Specified by:
getComment
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setComment
- Specified by:
setComment
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCommentImage
- Specified by:
getCommentImage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCommentImage
- Specified by:
setCommentImage
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getCode
- Specified by:
getCode
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setCode
- Specified by:
setCode
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference1
- Specified by:
getAppReference1
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference1
- Specified by:
setAppReference1
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference2
- Specified by:
getAppReference2
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference2
- Specified by:
setAppReference2
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getAppReference3
- Specified by:
getAppReference3
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
setAppReference3
- Specified by:
setAppReference3
in interfaceorg.eclnt.workplace.IWorkpageStartInfo
-
getFont
Calculation of font: the currently opened items are rendered with font-weight "bold"- Returns:
-