Package net.simplace.ui.tree
Class FWTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
net.simplace.ui.tree.FWTreeNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
- Direct Known Subclasses:
FWKeyWordTreeNode
,FWResultTreeNode
,FWSimComponentsTreeNode
- Author:
- Andreas Enders
- See Also:
-
Field Summary
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, 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
-
FWTreeNode
public FWTreeNode(String aID, String aIconID, String aFunction, String aUserGroup, String aPopupImageID) - Parameters:
aToolTipText
-aText
-aIconID
-
-
FWTreeNode
public FWTreeNode(String aID, String aCaption, String aToolTip, String aIconID, String aFunction, String aUserGroup, String aPopupImageID) - Parameters:
aToolTipText
-aText
-aIconID
-
-
-
Method Details
-
getIcon
- Returns:
- the icon of the treenode
-
getText
- Returns:
- the Text
-
getToolTipText
- Returns:
- the toolTipText
-
getID
- Returns:
- the id
-
getUserGroup
- Returns:
- the Usergroup
-
getFunction
- Returns:
- the function
-
isNodeStartable
public boolean isNodeStartable()- Returns:
- if node is startable
-
isPopupPossible
public boolean isPopupPossible()- Returns:
- if popup is allowed at this place.
-
getPopupImage
- Returns:
- Icon used for Popup
-
toString
- Overrides:
toString
in classDefaultMutableTreeNode
-
insert
- Specified by:
insert
in interfaceMutableTreeNode
- Overrides:
insert
in classDefaultMutableTreeNode
-