Class FWResultTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
net.simplace.ui.tree.FWTreeNode
net.simplace.ui.splitpane.results.FWResultTreeNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Author:
- Andreas Enders
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
ConstructorDescriptionFWResultTreeNode
(FWSystemModel aSystemModel) FWResultTreeNode
(FWResultTreeNode aParentNode, org.jdom2.Element aScenarioElement) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Methods inherited from class net.simplace.ui.tree.FWTreeNode
getFunction, getIcon, getID, getPopupImage, getText, getToolTipText, getUserGroup, insert, isNodeStartable, isPopupPossible, toString
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
Constructor Details
-
FWResultTreeNode
- Parameters:
aJdomElement
- filling structure
-
FWResultTreeNode
- Parameters:
aJdomElement
- filling structure
-
-
Method Details
-
getChildCount
public int getChildCount()- Specified by:
getChildCount
in interfaceTreeNode
- Overrides:
getChildCount
in classDefaultMutableTreeNode
-
isSceanarioNode
public boolean isSceanarioNode()- Returns:
- if the Node is a ScenarioNode. false means node is a SystemNode
-
getSystemModel
- Returns:
- the system model of this node
-