Package jmri.jmrit.symbolicprog
Class CombinedLocoSelTreePane.DecoderTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- jmri.jmrit.symbolicprog.CombinedLocoSelTreePane.DecoderTreeNode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
- Enclosing class:
- CombinedLocoSelTreePane
static class CombinedLocoSelTreePane.DecoderTreeNode extends javax.swing.tree.DefaultMutableTreeNode
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isIdentified
(package private) DecoderFile.Showable
showable
-
Constructor Summary
Constructors Constructor Description DecoderTreeNode(java.lang.Object userObject)
DecoderTreeNode(java.lang.Object userObject, boolean allowsChildren, boolean isIdentified, DecoderFile.Showable showable)
DecoderTreeNode(java.lang.String str, java.lang.String toolTipText, java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<javax.swing.tree.TreeNode>
breadthFirstEnumeration()
javax.swing.tree.TreeNode
getChildAt(int index, boolean filterIsActive)
int
getChildCount(boolean filterIsActive)
DecoderFile.Showable
getShowable()
java.lang.String
getTitle()
java.lang.String
getToolTipText()
void
setIdentified(boolean isIdentified)
void
setShowable(DecoderFile.Showable showable)
-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, 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
-
-
-
-
Field Detail
-
isIdentified
protected boolean isIdentified
-
showable
DecoderFile.Showable showable
-
-
Constructor Detail
-
DecoderTreeNode
public DecoderTreeNode(java.lang.String str, java.lang.String toolTipText, java.lang.String title)
-
DecoderTreeNode
public DecoderTreeNode(java.lang.Object userObject)
-
DecoderTreeNode
public DecoderTreeNode(java.lang.Object userObject, boolean allowsChildren, boolean isIdentified, DecoderFile.Showable showable)
-
-
Method Detail
-
breadthFirstEnumeration
public java.util.Enumeration<javax.swing.tree.TreeNode> breadthFirstEnumeration()
- Overrides:
breadthFirstEnumeration
in classjavax.swing.tree.DefaultMutableTreeNode
-
getTitle
public java.lang.String getTitle()
-
getToolTipText
public java.lang.String getToolTipText()
-
getChildAt
public javax.swing.tree.TreeNode getChildAt(int index, boolean filterIsActive)
-
getChildCount
public int getChildCount(boolean filterIsActive)
-
setIdentified
public void setIdentified(boolean isIdentified)
-
setShowable
public void setShowable(DecoderFile.Showable showable)
-
getShowable
public DecoderFile.Showable getShowable()
-
-