Home » openjdk-7 » javax » swing » tree » [javadoc | source]
class: FixedHeightLayoutCache.VisibleFHTreeStateNodeEnumeration [javadoc | source]

All Implemented Interfaces:

An enumerator to iterate through visible nodes.
Field Summary
protected  FHTreeStateNode parent    Parent thats children are being enumerated. 
protected  int nextIndex    Index of next child. An index of -1 signifies parent should be visibled next. 
protected  int childCount    Number of children in parent. 
 protected VisibleFHTreeStateNodeEnumeration(FHTreeStateNode node) 
 protected VisibleFHTreeStateNodeEnumeration(FHTreeStateNode parent,
    int startIndex) 
Method from javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration Summary:
findNextValidParent,   hasMoreElements,   nextElement,   updateNextIndex,   updateNextObject
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.tree.FixedHeightLayoutCache$VisibleFHTreeStateNodeEnumeration Detail:
 protected boolean findNextValidParent() 
    Finds the next valid parent, this should be called when nextIndex is beyond the number of children of the current parent.
 public boolean hasMoreElements() 
 public TreePath nextElement() 
 protected boolean updateNextIndex() 
    Updates nextIndex returning false if it is beyond the number of children of parent.
 protected  void updateNextObject() 
    Determines the next object by invoking updateNextIndex and if not succesful findNextValidParent.