org.annotation.gui
Class VariableHeightLayoutCache

java.lang.Object
  extended byjavax.swing.tree.AbstractLayoutCache
      extended byjavax.swing.tree.VariableHeightLayoutCache
          extended byorg.annotation.gui.VariableHeightLayoutCache
All Implemented Interfaces:
javax.swing.tree.RowMapper

public class VariableHeightLayoutCache
extends javax.swing.tree.VariableHeightLayoutCache


Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.AbstractLayoutCache
javax.swing.tree.AbstractLayoutCache.NodeDimensions
 
Field Summary
 
Fields inherited from class javax.swing.tree.AbstractLayoutCache
nodeDimensions, rootVisible, rowHeight, treeModel, treeSelectionModel
 
Constructor Summary
VariableHeightLayoutCache()
           
 
Method Summary
 void treeNodesInserted(javax.swing.event.TreeModelEvent e)
          Invoked after nodes have been inserted into the tree.
 
Methods inherited from class javax.swing.tree.VariableHeightLayoutCache
getBounds, getExpandedState, getPathClosestTo, getPathForRow, getPreferredHeight, getPreferredWidth, getRowCount, getRowForPath, getVisibleChildCount, getVisiblePathsFrom, invalidatePathBounds, invalidateSizes, isExpanded, setExpandedState, setModel, setNodeDimensions, setRootVisible, setRowHeight, treeNodesChanged, treeNodesRemoved, treeStructureChanged
 
Methods inherited from class javax.swing.tree.AbstractLayoutCache
getModel, getNodeDimensions, getNodeDimensions, getRowHeight, getRowsForPaths, getSelectionModel, isFixedRowHeight, isRootVisible, setSelectionModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableHeightLayoutCache

public VariableHeightLayoutCache()
Method Detail

treeNodesInserted

public void treeNodesInserted(javax.swing.event.TreeModelEvent e)

Invoked after nodes have been inserted into the tree.

e.path() returns the parent of the new nodes

e.childIndices() returns the indices of the new nodes in ascending order.



Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.