
Hierar chy: Object→ DefaultTreeSelectionModel(Cloneable, Serializable, TreeSelectionModel)
Subc lasses: JTree.EmptySelectionModel
ExpandVetoException Ja va 1.2
javax.swing .tree serializable checked
Thr own by one of the methods of a TreeW illExpandListener object to veto a proposed
expansion or collapse of a node.
public class ExpandVetoException extends Exception {
// Public Constructors
public ExpandVetoException(javax.swing .event.TreeExpansionEvent event);
public ExpandVetoException(javax.swing .event.TreeExpansionEvent event, String message);
// Protected Instance Fields
protected javax.swing.e vent.TreeExpansionEvent event;
}
Hierar chy: Object→ Throwable(Serializable)→ Exception→ ExpandVetoException
Thrown By: JTree.{fireTreeW illCollapse(), fireTreeW illExpand()},
javax.swing .event.TreeW illExpandListener.{treeW illCollapse(), treeW illExpand()}
FixedHeightLayoutCache Ja va 1.2
javax.swing .tree
This class caches the layout of nodes in a JTree.Itmakes the simplifying assumption that
all nodes in the tree have the same height. This class is used by the JTree UI delegate;
applications never need to use it.
public class FixedHeightLayoutCache extends AbstractLayoutCache {
// Public Constructors
public FixedHeightLayoutCache();
// Public Methods Overriding AbstractLayoutCache
public java.awt.Rectangle getBounds(T reePath path, java.awt.Rectangle placeIn);
public boolean getExpandedState(T reePath ...