Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.swing.tree
Class ExpansionRecordingTreeNode  view ExpansionRecordingTreeNode download ExpansionRecordingTreeNode.java

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byjavatools.swing.tree.ExpansionRecordingTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class ExpansionRecordingTreeNode
extends javax.swing.tree.DefaultMutableTreeNode

It is a tree node containing information about its expansion.

Version:
0.0.1

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
private  boolean expanded
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ExpansionRecordingTreeNode()
          Creates new ExpansionRecordingTreeNode
ExpansionRecordingTreeNode(java.lang.Object userObject)
          Creates a new ExpansionRecordingTreeNode.
ExpansionRecordingTreeNode(java.lang.Object userObject, boolean allowsChildren)
          Creates a new ExpansionRecordingTreeNode.
 
Method Summary
 boolean isExpanded()
          Returns the expanded flag.
 void setExpanded(boolean value)
          Sets the expanded flag.
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expanded

private boolean expanded
Constructor Detail

ExpansionRecordingTreeNode

public ExpansionRecordingTreeNode()
Creates new ExpansionRecordingTreeNode


ExpansionRecordingTreeNode

public ExpansionRecordingTreeNode(java.lang.Object userObject)
Creates a new ExpansionRecordingTreeNode.


ExpansionRecordingTreeNode

public ExpansionRecordingTreeNode(java.lang.Object userObject,
                                  boolean allowsChildren)
Creates a new ExpansionRecordingTreeNode.

Method Detail

setExpanded

public void setExpanded(boolean value)
Sets the expanded flag.


isExpanded

public boolean isExpanded()
Returns the expanded flag.