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_OPENEDFields 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 TypeMethodDescriptionvoidReaction on row executions in the client (double click, return key selection).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.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, toggleNodeAndScrollMethods 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: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
-
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
-
getPopupMenu
-
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
-