Class SetTreeTableNode

  • All Implemented Interfaces:
    TreeTableNode, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public class SetTreeTableNode
    extends DefaultTreeTableNode
    A tree table node, that has as name its number.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Constructor Summary

      Constructors 
      Constructor Description
      SetTreeTableNode​(TreeTableNodeType type, java.util.Map values)
      Create a tree table node with initial values.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getUserObject()
      Get the user value.
      java.lang.Object getValue​(int column)
      Get the value at a specific column.
      java.lang.String toString()
      Get the node name.
      • 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, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.swing.tree.TreeNode

        children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
    • Constructor Detail

      • SetTreeTableNode

        public SetTreeTableNode​(TreeTableNodeType type,
                                java.util.Map values)
        Create a tree table node with initial values.
        Parameters:
        type - The node type identifier.
        values - The initial values.
    • Method Detail

      • getValue

        public java.lang.Object getValue​(int column)
        Get the value at a specific column.
        Specified by:
        getValue in interface TreeTableNode
        Overrides:
        getValue in class DefaultTreeTableNode
        Parameters:
        column - The column.
        Returns:
        The value or empty string, when column index is too large.
      • getUserObject

        public java.lang.Object getUserObject()
        Get the user value.
        Overrides:
        getUserObject in class javax.swing.tree.DefaultMutableTreeNode
        Returns:
        The value.
      • toString

        public java.lang.String toString()
        Get the node name.
        Overrides:
        toString in class DefaultTreeTableNode
        Returns:
        The name of the node.