Package org.eclnt.workplace
Class WorkplaceFunctionTree.FunctionNode
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
org.eclnt.workplace.WorkplaceFunctionTree.FunctionNode
- All Implemented Interfaces:
Serializable,Comparable,IFIXGRIDItem,IWorkpageStartInfo
- Enclosing class:
- WorkplaceFunctionTree
public class WorkplaceFunctionTree.FunctionNode
extends FIXGRIDTreeItem
implements IWorkpageStartInfo, Serializable
Represents function in function tree. The node is either a folgder
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(FIXGRIDTreeItem parentNode) This constructor is used when creating folder nodes.FunctionNode(FIXGRIDTreeItem parentNode, String page) This constructor is used when creating page nodes - containing start information.FunctionNode(FIXGRIDTreeItem parentNode, WorkpageStartInfo wpsi) -
Method Summary
Modifier and TypeMethodDescriptionApplication reference - this field is not used by CaptainCasa processing.Application reference - this field is not used by CaptainCasa processing.Application reference - this field is not used by CaptainCasa processing.booleangetCode()A short code for this item.Comment that is associated with this instance.Image that serves as additional comment to the image.Returns drag-send information of the node.booleangetId()getImage()booleanbooleanbooleanbooleanintgetText()The text may be an expression.booleanvoidReaction on row executions in the client (double click, return key selection).voidReaction on row selections in the client.voidonStartInNewBrowser(ActionEvent event) voidonToggle()Event that is passed from the client when the user open/close a folder node.voidprocessTREENDOEAction(ActionEvent event) This is the central method that is called by default by client side TREENODE events.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) voidvoidSets the image that is rendered for the node.voidsetJspPage(String jspPage) voidsetNodeTooltip(String nodeTooltip) voidsetOpenAsPopupByDefault(boolean value) voidsetOpenMultipleInstances(boolean value) voidsetPageBeanName(String pageBeanName) voidvoidsetPopupSupported(boolean value) voidsetSelectorBgpaint(String selectorBgpaint) voidsetSelectorTitle(String value) Explicit different text that is passed into the selector, when the workpage is started. - If null then the title passed via setText(..) is taken.voidvoidSets the text of the node.voidsetWindowTitle(String value) Explicit different text that is passed into the workpage's title, when the workpage is started. - if null then the title passed via setText(..) is taken.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
This constructor is used when creating folder nodes. -
FunctionNode
This constructor is used when creating page nodes - containing start information. -
FunctionNode
-
-
Method Details
-
processTREENDOEAction
Description copied from class:FIXGRIDTreeItemThis is the central method that is called by default by client side TREENODE events. It automatically handles the event "toggle". In case of enhancing a TREENODE (e.g. adding drag & drop onto TREENODE level) you need to override this method and add the behavior for the specific event. In any case you need to call this super-implementation within your implementation!- Overrides:
processTREENDOEActionin classFIXGRIDTreeItem
-
setClientName
-
setDecorated
public void setDecorated(boolean value) - Specified by:
setDecoratedin interfaceIWorkpageStartInfo
-
setOpenMultipleInstances
public void setOpenMultipleInstances(boolean value) - Specified by:
setOpenMultipleInstancesin interfaceIWorkpageStartInfo
-
getWindowTitle
- Specified by:
getWindowTitlein interfaceIWorkpageStartInfo
-
isDecorated
public boolean isDecorated()- Specified by:
isDecoratedin interfaceIWorkpageStartInfo
-
getOpenMultipleInstances
public boolean getOpenMultipleInstances()- Specified by:
getOpenMultipleInstancesin interfaceIWorkpageStartInfo
-
getOpenAsPopupByDefault
public boolean getOpenAsPopupByDefault()- Specified by:
getOpenAsPopupByDefaultin interfaceIWorkpageStartInfo
-
getJspPage
- Specified by:
getJspPagein interfaceIWorkpageStartInfo
-
getId
- Specified by:
getIdin interfaceIWorkpageStartInfo
-
getParam
- Specified by:
getParamin interfaceIWorkpageStartInfo
-
getParamMap
- Specified by:
getParamMapin interfaceIWorkpageStartInfo
-
setFunctionClassName
- Specified by:
setFunctionClassNamein interfaceIWorkpageStartInfo
-
getFunctionClassName
- Specified by:
getFunctionClassNamein interfaceIWorkpageStartInfo
-
getSortIndex
public int getSortIndex()Description copied from interface:IWorkpageStartInfo- Specified by:
getSortIndexin interfaceIWorkpageStartInfo
-
getClientName
- Specified by:
getClientNamein interfaceIWorkpageStartInfo
-
onRowExecute
public void onRowExecute()Description copied from class:FIXGRIDItemReaction on row executions in the client (double click, return key selection).- Specified by:
onRowExecutein interfaceIFIXGRIDItem- Overrides:
onRowExecutein classFIXGRIDItem
-
onToggle
public void onToggle()Description copied from class:FIXGRIDTreeItemEvent that is passed from the client when the user open/close a folder node. You may read sub-items into the tree as reaction. OVerride this method in your implementation.- Overrides:
onTogglein classFIXGRIDTreeItem
-
onRowSelect
public void onRowSelect()Description copied from class:FIXGRIDItemReaction on row selections in the client. Override this method for specific reactions.- Specified by:
onRowSelectin interfaceIFIXGRIDItem- Overrides:
onRowSelectin classFIXGRIDItem
-
onStartInNewBrowser
-
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
Description copied from class:FIXGRIDTreeItemSets the text of the node.- Specified by:
setTextin interfaceIWorkpageStartInfo- Overrides:
setTextin classFIXGRIDTreeItem
-
setImage
Description copied from class:FIXGRIDTreeItemSets the image that is rendered for the node. Setting the image is optional.- Specified by:
setImagein interfaceIWorkpageStartInfo- Overrides:
setImagein classFIXGRIDTreeItem
-
setId
- Specified by:
setIdin interfaceIWorkpageStartInfo
-
getText
- Specified by:
getTextin interfaceIWorkpageStartInfo- Overrides:
getTextin classFIXGRIDTreeItem
-
getTextOriginal
The text may be an expression. While getText() returns the resolved expression, this method returns the original text. -
getImage
- Specified by:
getImagein interfaceIWorkpageStartInfo- Overrides:
getImagein classFIXGRIDTreeItem
-
setParam
- Specified by:
setParamin interfaceIWorkpageStartInfo
-
removeParam
- Specified by:
removeParamin interfaceIWorkpageStartInfo
-
setJspPage
- Specified by:
setJspPagein interfaceIWorkpageStartInfo
-
setPopupSupported
public void setPopupSupported(boolean value) - Specified by:
setPopupSupportedin interfaceIWorkpageStartInfo
-
setCloseSupported
public void setCloseSupported(boolean value) - Specified by:
setCloseSupportedin interfaceIWorkpageStartInfo
-
setOpenAsPopupByDefault
public void setOpenAsPopupByDefault(boolean value) - Specified by:
setOpenAsPopupByDefaultin interfaceIWorkpageStartInfo
-
setSelectorTitle
Description copied from interface:IWorkpageStartInfoExplicit different text that is passed into the selector, when the workpage is started. - If null then the title passed via setText(..) is taken.- Specified by:
setSelectorTitlein interfaceIWorkpageStartInfo
-
setWindowTitle
Description copied from interface:IWorkpageStartInfoExplicit different text that is passed into the workpage's title, when the workpage is started. - if null then the title passed via setText(..) is taken.- Specified by:
setWindowTitlein interfaceIWorkpageStartInfo
-
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
-
setStartSubWorkpageContainerId
- Specified by:
setStartSubWorkpageContainerIdin interfaceIWorkpageStartInfo
-
getPopupSuppoted
public boolean getPopupSuppoted()- Specified by:
getPopupSuppotedin interfaceIWorkpageStartInfo
-
getCloseSupported
public boolean getCloseSupported()- Specified by:
getCloseSupportedin interfaceIWorkpageStartInfo
-
getStartSubWorkpageContainerId
- Specified by:
getStartSubWorkpageContainerIdin interfaceIWorkpageStartInfo
-
getSelectorTitle
- Specified by:
getSelectorTitlein interfaceIWorkpageStartInfo
-
getSelectorBgpaint
- Specified by:
getSelectorBgpaintin interfaceIWorkpageStartInfo
-
setSelectorBgpaint
- Specified by:
setSelectorBgpaintin interfaceIWorkpageStartInfo
-
setPageBeanName
- Specified by:
setPageBeanNamein interfaceIWorkpageStartInfo
-
getPageBeanName
- Specified by:
getPageBeanNamein interfaceIWorkpageStartInfo
-
setNodeTooltip
-
getTooltip
-
getExcludeFromSavePerspective
public boolean getExcludeFromSavePerspective()- Specified by:
getExcludeFromSavePerspectivein interfaceIWorkpageStartInfo
-
setExcludeFromSavePerspective
public void setExcludeFromSavePerspective(boolean excludeFromSavePerspective) - Specified by:
setExcludeFromSavePerspectivein interfaceIWorkpageStartInfo
-
getComment
Description copied from interface:IWorkpageStartInfoComment that is associated with this instance. The comment e.g. is shown as tooltip.- Specified by:
getCommentin interfaceIWorkpageStartInfo
-
setComment
- Specified by:
setCommentin interfaceIWorkpageStartInfo
-
getCommentImage
Description copied from interface:IWorkpageStartInfoImage that serves as additional comment to the image. The comment is currently not directly used in the workplace but may be used in subsequent component like the launchpad (CCLaunchPad).- Specified by:
getCommentImagein interfaceIWorkpageStartInfo
-
setCommentImage
- Specified by:
setCommentImagein interfaceIWorkpageStartInfo
-
getCode
Description copied from interface:IWorkpageStartInfoA short code for this item. The user can call the function from the search screen by just using this code.- Specified by:
getCodein interfaceIWorkpageStartInfo
-
setCode
- Specified by:
setCodein interfaceIWorkpageStartInfo
-
getAppReference1
Description copied from interface:IWorkpageStartInfoApplication reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference1in interfaceIWorkpageStartInfo
-
setAppReference1
- Specified by:
setAppReference1in interfaceIWorkpageStartInfo
-
getAppReference2
Description copied from interface:IWorkpageStartInfoApplication reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference2in interfaceIWorkpageStartInfo
-
setAppReference2
- Specified by:
setAppReference2in interfaceIWorkpageStartInfo
-
getAppReference3
Description copied from interface:IWorkpageStartInfoApplication reference - this field is not used by CaptainCasa processing. It is up to your application to use it.- Specified by:
getAppReference3in interfaceIWorkpageStartInfo
-
setAppReference3
- Specified by:
setAppReference3in interfaceIWorkpageStartInfo
-
getOverlayAreaRendered
public boolean getOverlayAreaRendered()
-