<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:02:17 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  FixedHeightLayoutCache
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/FixedHeightLayoutCache.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../javax/swing/tree/DefaultTreeSelectionModel.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/tree/TreePath.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FixedHeightLayoutCache.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_javax.swing.tree.AbstractLayoutCache">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.tree.AbstractLayoutCache">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing.tree</FONT>
<BR>
Class  FixedHeightLayoutCache</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">javax.swing.tree.AbstractLayoutCache</A>
        |
        +--<B>javax.swing.tree.FixedHeightLayoutCache</B>
</PRE>
<HR>
<DL>
<DT>public class <B>FixedHeightLayoutCache</B><DT>extends <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>

<P>
NOTE: This will become more open in a future release.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->

<A NAME="inner_classes_inherited_from_class_javax.swing.tree.AbstractLayoutCache"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.tree.<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/tree/AbstractLayoutCache.NodeDimensions.html">AbstractLayoutCache.NodeDimensions</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_javax.swing.tree.AbstractLayoutCache"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.tree.<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#nodeDimensions">nodeDimensions</A>,  
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#rootVisible">rootVisible</A>,  
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#rowHeight">rowHeight</A>,  
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeModel">treeModel</A>,  
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeSelectionModel">treeSelectionModel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#FixedHeightLayoutCache()">FixedHeightLayoutCache</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getBounds(javax.swing.tree.TreePath, java.awt.Rectangle)">getBounds</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,
          java.awt.Rectangle&nbsp;placeIn)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a rectangle giving the bounds needed to draw path.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getExpandedState(javax.swing.tree.TreePath)">getExpandedState</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the path is expanded, and visible.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getPathClosestTo(int, int)">getPathClosestTo</A></B>(int&nbsp;x,
                 int&nbsp;y)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path to the node that is closest to x,y.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getPathForRow(int)">getPathForRow</A></B>(int&nbsp;row)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the path for passed in row.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getRowCount()">getRowCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of visible rows.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getRowForPath(javax.swing.tree.TreePath)">getRowForPath</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the row that the last item identified in path is visible
 at.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getVisibleChildCount(javax.swing.tree.TreePath)">getVisibleChildCount</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of visible children for row.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#getVisiblePathsFrom(javax.swing.tree.TreePath)">getVisiblePathsFrom</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an Enumerator that increments over the visible paths
 starting at the passed in location.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#invalidatePathBounds(javax.swing.tree.TreePath)">invalidatePathBounds</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does nothing, FixedHeightLayoutCache doesn't cache width, and that
 is all that could change.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#invalidateSizes()">invalidateSizes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Informs the TreeState that it needs to recalculate all the sizes
 it is referencing.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#isExpanded(javax.swing.tree.TreePath)">isExpanded</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the value identified by row is currently expanded.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#setExpandedState(javax.swing.tree.TreePath, boolean)">setExpandedState</A></B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,
                 boolean&nbsp;isExpanded)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marks the path <code>path</code> expanded state to
 <code>isExpanded</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#setModel(javax.swing.tree.TreeModel)">setModel</A></B>(<A HREF="../../../javax/swing/tree/TreeModel.html">TreeModel</A>&nbsp;newModel)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the TreeModel that will provide the data.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#setRootVisible(boolean)">setRootVisible</A></B>(boolean&nbsp;rootVisible)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether or not the root node from
 the TreeModel is visible.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#setRowHeight(int)">setRowHeight</A></B>(int&nbsp;rowHeight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the height of each cell.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#treeNodesChanged(javax.swing.event.TreeModelEvent)">treeNodesChanged</A></B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after a node (or a set of siblings) has changed in some
 way.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#treeNodesInserted(javax.swing.event.TreeModelEvent)">treeNodesInserted</A></B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#treeNodesRemoved(javax.swing.event.TreeModelEvent)">treeNodesRemoved</A></B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after nodes have been removed from the tree.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/tree/FixedHeightLayoutCache.html#treeStructureChanged(javax.swing.event.TreeModelEvent)">treeStructureChanged</A></B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked after the tree has drastically changed structure from a
 given node down.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.tree.AbstractLayoutCache"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.tree.<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getModel()">getModel</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getNodeDimensions()">getNodeDimensions</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getNodeDimensions(java.lang.Object, int, int, boolean, java.awt.Rectangle)">getNodeDimensions</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getPreferredHeight()">getPreferredHeight</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getPreferredWidth(java.awt.Rectangle)">getPreferredWidth</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getRowHeight()">getRowHeight</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getRowsForPaths(javax.swing.tree.TreePath[])">getRowsForPaths</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getSelectionModel()">getSelectionModel</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#isFixedRowHeight()">isFixedRowHeight</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#isRootVisible()">isRootVisible</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setNodeDimensions(javax.swing.tree.AbstractLayoutCache.NodeDimensions)">setNodeDimensions</A>, 
<A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setSelectionModel(javax.swing.tree.TreeSelectionModel)">setSelectionModel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="FixedHeightLayoutCache()"><!-- --></A><H3>
FixedHeightLayoutCache</H3>
<PRE>
public <B>FixedHeightLayoutCache</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="setModel(javax.swing.tree.TreeModel)"><!-- --></A><H3>
setModel</H3>
<PRE>
public void <B>setModel</B>(<A HREF="../../../javax/swing/tree/TreeModel.html">TreeModel</A>&nbsp;newModel)</PRE>
<DL>
<DD>Sets the TreeModel that will provide the data.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newModel</CODE> - the TreeModel that is to provide the data<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setModel(javax.swing.tree.TreeModel)">setModel</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="setRootVisible(boolean)"><!-- --></A><H3>
setRootVisible</H3>
<PRE>
public void <B>setRootVisible</B>(boolean&nbsp;rootVisible)</PRE>
<DL>
<DD>Determines whether or not the root node from
 the TreeModel is visible.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rootVisible</CODE> - true if the root node of the tree is to be displayed<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setRootVisible(boolean)">setRootVisible</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A><DT><B>See Also: </B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#rootVisible"><CODE>AbstractLayoutCache.rootVisible</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setRowHeight(int)"><!-- --></A><H3>
setRowHeight</H3>
<PRE>
public void <B>setRowHeight</B>(int&nbsp;rowHeight)</PRE>
<DL>
<DD>Sets the height of each cell. If rowHeight is less than or equal to
 0 this will throw an IllegalArgumentException.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rowHeight</CODE> - the height of each cell, in pixels<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setRowHeight(int)">setRowHeight</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getRowCount()"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>()</PRE>
<DL>
<DD>Returns the number of visible rows.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getRowCount()">getRowCount</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="invalidatePathBounds(javax.swing.tree.TreePath)"><!-- --></A><H3>
invalidatePathBounds</H3>
<PRE>
public void <B>invalidatePathBounds</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Does nothing, FixedHeightLayoutCache doesn't cache width, and that
 is all that could change.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#invalidatePathBounds(javax.swing.tree.TreePath)">invalidatePathBounds</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="invalidateSizes()"><!-- --></A><H3>
invalidateSizes</H3>
<PRE>
public void <B>invalidateSizes</B>()</PRE>
<DL>
<DD>Informs the TreeState that it needs to recalculate all the sizes
 it is referencing.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#invalidateSizes()">invalidateSizes</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="isExpanded(javax.swing.tree.TreePath)"><!-- --></A><H3>
isExpanded</H3>
<PRE>
public boolean <B>isExpanded</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns true if the value identified by row is currently expanded.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#isExpanded(javax.swing.tree.TreePath)">isExpanded</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getBounds(javax.swing.tree.TreePath, java.awt.Rectangle)"><!-- --></A><H3>
getBounds</H3>
<PRE>
public java.awt.Rectangle <B>getBounds</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,
                                    java.awt.Rectangle&nbsp;placeIn)</PRE>
<DL>
<DD>Returns a rectangle giving the bounds needed to draw path.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - a TreePath specifying a node<DD><CODE>placeIn</CODE> - a Rectangle object giving the available space<DT><B>Returns:</B><DD>a Rectangle object specifying the space to be used<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getBounds(javax.swing.tree.TreePath, java.awt.Rectangle)">getBounds</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getPathForRow(int)"><!-- --></A><H3>
getPathForRow</H3>
<PRE>
public <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A> <B>getPathForRow</B>(int&nbsp;row)</PRE>
<DL>
<DD>Returns the path for passed in row.  If row is not visible
 null is returned.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getPathForRow(int)">getPathForRow</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getRowForPath(javax.swing.tree.TreePath)"><!-- --></A><H3>
getRowForPath</H3>
<PRE>
public int <B>getRowForPath</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns the row that the last item identified in path is visible
 at.  Will return -1 if any of the elements in path are not
 currently visible.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getRowForPath(javax.swing.tree.TreePath)">getRowForPath</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getPathClosestTo(int, int)"><!-- --></A><H3>
getPathClosestTo</H3>
<PRE>
public <A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A> <B>getPathClosestTo</B>(int&nbsp;x,
                                 int&nbsp;y)</PRE>
<DL>
<DD>Returns the path to the node that is closest to x,y.  If
 there is nothing currently visible this will return null, otherwise
 it'll always return a valid path.  If you need to test if the
 returned object is exactly at x, y you should get the bounds for
 the returned path and test x, y against that.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getPathClosestTo(int, int)">getPathClosestTo</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getVisibleChildCount(javax.swing.tree.TreePath)"><!-- --></A><H3>
getVisibleChildCount</H3>
<PRE>
public int <B>getVisibleChildCount</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns the number of visible children for row.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getVisibleChildCount(javax.swing.tree.TreePath)">getVisibleChildCount</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getVisiblePathsFrom(javax.swing.tree.TreePath)"><!-- --></A><H3>
getVisiblePathsFrom</H3>
<PRE>
public java.util.Enumeration <B>getVisiblePathsFrom</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns an Enumerator that increments over the visible paths
 starting at the passed in location. The ordering of the enumeration
 is based on how the paths are displayed.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getVisiblePathsFrom(javax.swing.tree.TreePath)">getVisiblePathsFrom</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="setExpandedState(javax.swing.tree.TreePath, boolean)"><!-- --></A><H3>
setExpandedState</H3>
<PRE>
public void <B>setExpandedState</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path,
                             boolean&nbsp;isExpanded)</PRE>
<DL>
<DD>Marks the path <code>path</code> expanded state to
 <code>isExpanded</code>.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#setExpandedState(javax.swing.tree.TreePath, boolean)">setExpandedState</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="getExpandedState(javax.swing.tree.TreePath)"><!-- --></A><H3>
getExpandedState</H3>
<PRE>
public boolean <B>getExpandedState</B>(<A HREF="../../../javax/swing/tree/TreePath.html">TreePath</A>&nbsp;path)</PRE>
<DL>
<DD>Returns true if the path is expanded, and visible.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#getExpandedState(javax.swing.tree.TreePath)">getExpandedState</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="treeNodesChanged(javax.swing.event.TreeModelEvent)"><!-- --></A><H3>
treeNodesChanged</H3>
<PRE>
public void <B>treeNodesChanged</B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>Invoked after a node (or a set of siblings) has changed in some
 way. The node(s) have not changed locations in the tree or
 altered their children arrays, but other attributes have
 changed and may affect presentation. Example: the name of a
 file has changed, but it is in the same location in the file
 system.</p>

 <p>e.path() returns the path the parent of the changed node(s).</p>

 <p>e.childIndices() returns the index(es) of the changed node(s).</p><DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeNodesChanged(javax.swing.event.TreeModelEvent)">treeNodesChanged</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="treeNodesInserted(javax.swing.event.TreeModelEvent)"><!-- --></A><H3>
treeNodesInserted</H3>
<PRE>
public void <B>treeNodesInserted</B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>Invoked after nodes have been inserted into the tree.</p>

 <p>e.path() returns the parent of the new nodes
 <p>e.childIndices() returns the indices of the new nodes in
 ascending order.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeNodesInserted(javax.swing.event.TreeModelEvent)">treeNodesInserted</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="treeNodesRemoved(javax.swing.event.TreeModelEvent)"><!-- --></A><H3>
treeNodesRemoved</H3>
<PRE>
public void <B>treeNodesRemoved</B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>Invoked after nodes have been removed from the tree.  Note that
 if a subtree is removed from the tree, this method may only be
 invoked once for the root of the removed subtree, not once for
 each individual set of siblings removed.</p>

 <p>e.path() returns the former parent of the deleted nodes.</p>

 <p>e.childIndices() returns the indices the nodes had before they were deleted in ascending order.</p><DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeNodesRemoved(javax.swing.event.TreeModelEvent)">treeNodesRemoved</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<HR>

<A NAME="treeStructureChanged(javax.swing.event.TreeModelEvent)"><!-- --></A><H3>
treeStructureChanged</H3>
<PRE>
public void <B>treeStructureChanged</B>(<A HREF="../../../javax/swing/event/TreeModelEvent.html">TreeModelEvent</A>&nbsp;e)</PRE>
<DL>
<DD><p>Invoked after the tree has drastically changed structure from a
 given node down.  If the path returned by e.getPath() is of length
 one and the first element does not identify the current root node
 the first element should become the new root of the tree.<p>

 <p>e.path() holds the path to the node.</p>
 <p>e.childIndices() returns null.</p><DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/tree/AbstractLayoutCache.html#treeStructureChanged(javax.swing.event.TreeModelEvent)">treeStructureChanged</A> in class <A HREF="../../../javax/swing/tree/AbstractLayoutCache.html">AbstractLayoutCache</A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/FixedHeightLayoutCache.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../javax/swing/tree/DefaultTreeSelectionModel.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/tree/TreePath.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="FixedHeightLayoutCache.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_classes_inherited_from_class_javax.swing.tree.AbstractLayoutCache">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.tree.AbstractLayoutCache">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
