Package org.eclnt.jsfserver.rttools
Class StreamStoreTreeUI.TreeNode
java.lang.Object
org.eclnt.jsfserver.elements.impl.FIXGRIDItem
org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
org.eclnt.jsfserver.rttools.StreamStoreTreeUI.TreeNode
- All Implemented Interfaces:
Serializable
,Comparable
,IFIXGRIDItem
- Enclosing class:
- StreamStoreTreeUI
- 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
ConstructorsConstructorDescriptionTreeNode
(FIXGRIDTreeItem parentNode, String absPath, String text, boolean isFolder, boolean alsoReadSubFolders) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Reaction on row executions in the client (double click, return key selection).void
onToggle()
Event that is passed from the client when the user open/close a folder node.void
processTREENDOEAction
(javax.faces.event.ActionEvent event) This is the central method that is called by default by client side TREENODE events.Methods inherited from class org.eclnt.jsfserver.elements.impl.FIXGRIDTreeItem
addSubNode, addSubNode, appendVisibleSubNodes, checkIfNodeHasAsParent, closeAllNodes, collapseNode, collapseNodeAndSubNodes, compareTo, expandNode, expandNodeAndSubNodes, getAllContainedNodes, getChildNodes, getImage, getLevel, getLevelInt, getLineDrawing, getParentNode, getRequestfocus, getStatus, getStatusInt, getText, getTextForExport, moveSubNodeBehind, moveSubNodeInFront, moveSubNodeOneDown, moveSubNodeOneUp, moveSubNodesOneDown, moveSubNodesOneUp, moveSubNodeToFirst, moveSubNodeToLast, openAllParentNodes, removeAllChildNodes, removeAllChildNodes, removeNode, requestFocus, setImage, setLevel, setStatus, setText, 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, onRowSelect, setOriginalIndex, setRowHeight, setSelected, unhighlightAllCells, unhighlightCell, unrequestFocus, updateSelectedInternally
-
Constructor Details
-
TreeNode
public TreeNode(FIXGRIDTreeItem parentNode, String absPath, String text, boolean isFolder, boolean alsoReadSubFolders)
-
-
Method Details
-
onToggle
public void onToggle()Description copied from class:FIXGRIDTreeItem
Event 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:
onToggle
in classFIXGRIDTreeItem
-
onRowExecute
public void onRowExecute()Description copied from class:FIXGRIDItem
Reaction on row executions in the client (double click, return key selection).- Specified by:
onRowExecute
in interfaceIFIXGRIDItem
- Overrides:
onRowExecute
in classFIXGRIDItem
-
getPopupMenu
-
processTREENDOEAction
public void processTREENDOEAction(javax.faces.event.ActionEvent event) Description copied from class:FIXGRIDTreeItem
This 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:
processTREENDOEAction
in classFIXGRIDTreeItem
-