jdk/src/java.desktop/share/classes/javax/swing/tree/DefaultMutableTreeNode.java
changeset 32865 f9cb6e427f9e
parent 26353 b5e3b7fbf56d
equal deleted inserted replaced
32864:2a338536e642 32865:f9cb6e427f9e
    93 
    93 
    94     /**
    94     /**
    95      * An enumeration that is always empty. This is used when an enumeration
    95      * An enumeration that is always empty. This is used when an enumeration
    96      * of a leaf node's children is requested.
    96      * of a leaf node's children is requested.
    97      */
    97      */
    98     static public final Enumeration<TreeNode> EMPTY_ENUMERATION
    98     public static final Enumeration<TreeNode> EMPTY_ENUMERATION
    99         = Collections.emptyEnumeration();
    99         = Collections.emptyEnumeration();
   100 
   100 
   101     /** this node's parent, or null if this node has no parent */
   101     /** this node's parent, or null if this node has no parent */
   102     protected MutableTreeNode   parent;
   102     protected MutableTreeNode   parent;
   103 
   103 
   104     /** array of children, may be null if this node has no children */
   104     /** array of children, may be null if this node has no children */
   105     protected Vector<TreeNode> children;
   105     protected Vector<TreeNode> children;
   106 
   106 
   107     /** optional user object */
   107     /** optional user object */
   108     transient protected Object  userObject;
   108     protected transient Object  userObject;
   109 
   109 
   110     /** true if the node is able to have children */
   110     /** true if the node is able to have children */
   111     protected boolean           allowsChildren;
   111     protected boolean           allowsChildren;
   112 
   112 
   113 
   113