Class RosterTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- jmri.jmrit.roster.swing.rostertree.RosterTreeNode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
public class RosterTreeNode extends javax.swing.tree.DefaultMutableTreeNode
Create a TreeNode representing the entire Roster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RosterTreeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initComponents()
Initialize the connection to the Roster.-
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, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-
-
-
Constructor Detail
-
RosterTreeNode
public RosterTreeNode()
-
-
Method Detail
-
initComponents
public void initComponents()
Initialize the connection to the Roster.Should be called before connecting the node to a JTree.
-
-