<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:01:38 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  TableView
</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/TableView.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/text/StyledEditorKit.UnderlineAction.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/TableView.TableCell.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="TableView.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_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.View">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.text</FONT>
<BR>
Class  TableView</H2>
<PRE>
java.lang.Object
  |
  +--<A HREF="../../../javax/swing/text/View.html">javax.swing.text.View</A>
        |
        +--<A HREF="../../../javax/swing/text/CompositeView.html">javax.swing.text.CompositeView</A>
              |
              +--<A HREF="../../../javax/swing/text/BoxView.html">javax.swing.text.BoxView</A>
                    |
                    +--<B>javax.swing.text.TableView</B>
</PRE>
<HR>
<DL>
<DT>public abstract class <B>TableView</B><DT>extends <A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></DL>

<P>
<p>
 Implements View interface for a table, that is composed of an
 element structure where the child elements of the element
 this view is responsible for represent rows and the child 
 elements of the row elements are cells.  The cell elements can
 have an arbitrary element structure under them, which will
 be built with the ViewFactory returned by the getViewFactory
 method.
 <pre>

   TABLE
     ROW
       CELL
       CELL
     ROW
       CELL
       CELL

 </pre>
 <p>
 This is implemented as a hierarchy of boxes, the table itself
 is a vertical box, the rows are horizontal boxes, and the cells
 are vertical boxes.  The cells are allowed to span multiple
 columns and rows.  By default, the table can be thought of as
 being formed over a grid (i.e. somewhat like one would find in
 gridbag layout), where table cells can request to span more
 than one grid cell.  The default horizontal span of table cells
 will be based upon this grid, but can be changed by reimplementing
 the requested span of the cell (i.e. table cells can have independant
 spans if desired).
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../../javax/swing/text/View.html"><CODE>View</CODE></A></DL>
<HR>

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

<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.TableCell.html">TableView.TableCell</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;View of a cell in a table</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.TableRow.html">TableView.TableRow</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;View of a row in a table.</TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_javax.swing.text.View"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/View.html">View</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/text/View.html#BadBreakWeight">BadBreakWeight</A>,  
<A HREF="../../../javax/swing/text/View.html#ExcellentBreakWeight">ExcellentBreakWeight</A>,  
<A HREF="../../../javax/swing/text/View.html#ForcedBreakWeight">ForcedBreakWeight</A>,  
<A HREF="../../../javax/swing/text/View.html#GoodBreakWeight">GoodBreakWeight</A>,  
<A HREF="../../../javax/swing/text/View.html#X_AXIS">X_AXIS</A>,  
<A HREF="../../../javax/swing/text/View.html#Y_AXIS">Y_AXIS</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/text/TableView.html#TableView(javax.swing.text.Element)">TableView</A></B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a TableView for the given element.</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>protected &nbsp;<A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)">calculateMinorAxisRequirements</A></B>(int&nbsp;axis,
                               <A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A>&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculate the requirements for the minor axis.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../javax/swing/text/TableView.TableCell.html">TableView.TableCell</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#createTableCell(javax.swing.text.Element)">createTableCell</A></B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new table cell.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../javax/swing/text/TableView.TableRow.html">TableView.TableRow</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#createTableRow(javax.swing.text.Element)">createTableRow</A></B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new table row.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../javax/swing/text/View.html">View</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#getViewAtPosition(int, java.awt.Rectangle)">getViewAtPosition</A></B>(int&nbsp;pos,
                  java.awt.Rectangle&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the child view that represents the given position in
 the model.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#layoutColumns(int, int[], int[], javax.swing.SizeRequirements[])">layoutColumns</A></B>(int&nbsp;targetSpan,
              int[]&nbsp;offsets,
              int[]&nbsp;spans,
              <A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A>[]&nbsp;reqs)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Layout the columns to fit within the given target span.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#layoutMinorAxis(int, int, int[], int[])">layoutMinorAxis</A></B>(int&nbsp;targetSpan,
                int&nbsp;axis,
                int[]&nbsp;offsets,
                int[]&nbsp;spans)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Perform layout for the minor axis of the box (i.e.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../javax/swing/text/TableView.html#loadChildren(javax.swing.text.ViewFactory)">loadChildren</A></B>(<A HREF="../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads all of the children to initialize the view.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.BoxView"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/text/BoxView.html#baselineLayout(int, int, int[], int[])">baselineLayout</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#baselineRequirements(int, javax.swing.SizeRequirements)">baselineRequirements</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#calculateMajorAxisRequirements(int, javax.swing.SizeRequirements)">calculateMajorAxisRequirements</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#childAllocation(int, java.awt.Rectangle)">childAllocation</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#flipEastAndWestAtEnds(int, javax.swing.text.Position.Bias)">flipEastAndWestAtEnds</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getAlignment(int)">getAlignment</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getHeight()">getHeight</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getMaximumSpan(int)">getMaximumSpan</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getMinimumSpan(int)">getMinimumSpan</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getOffset(int, int)">getOffset</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getPreferredSpan(int)">getPreferredSpan</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getResizeWeight(int)">getResizeWeight</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getSpan(int, int)">getSpan</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getViewAtPoint(int, int, java.awt.Rectangle)">getViewAtPoint</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#getWidth()">getWidth</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#isAfter(int, int, java.awt.Rectangle)">isAfter</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#isAllocationValid()">isAllocationValid</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#isBefore(int, int, java.awt.Rectangle)">isBefore</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#layout(int, int)">layout</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#layoutMajorAxis(int, int, int[], int[])">layoutMajorAxis</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#paint(java.awt.Graphics, java.awt.Shape)">paint</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#paintChild(java.awt.Graphics, java.awt.Rectangle, int)">paintChild</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#preferenceChanged(javax.swing.text.View, boolean, boolean)">preferenceChanged</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#replace(int, int, javax.swing.text.View[])">replace</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#setSize(float, float)">setSize</A>, 
<A HREF="../../../javax/swing/text/BoxView.html#viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])">viewToModel</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.CompositeView"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/CompositeView.html">CompositeView</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/text/CompositeView.html#append(javax.swing.text.View)">append</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getBottomInset()">getBottomInset</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getChildAllocation(int, java.awt.Shape)">getChildAllocation</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getInsideAllocation(java.awt.Shape)">getInsideAllocation</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getLeftInset()">getLeftInset</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getNextEastWestVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])">getNextEastWestVisualPositionFrom</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getNextNorthSouthVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])">getNextNorthSouthVisualPositionFrom</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])">getNextVisualPositionFrom</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getRightInset()">getRightInset</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getTopInset()">getTopInset</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getView(int)">getView</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getViewCount()">getViewCount</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#getViewIndexAtPosition(int)">getViewIndexAtPosition</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#insert(int, javax.swing.text.View)">insert</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape)">modelToView</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#removeAll()">removeAll</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#setInsets(short, short, short, short)">setInsets</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#setParagraphInsets(javax.swing.text.AttributeSet)">setParagraphInsets</A>, 
<A HREF="../../../javax/swing/text/CompositeView.html#setParent(javax.swing.text.View)">setParent</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.View"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../javax/swing/text/View.html">View</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../javax/swing/text/View.html#breakView(int, int, float, float)">breakView</A>, 
<A HREF="../../../javax/swing/text/View.html#createFragment(int, int)">createFragment</A>, 
<A HREF="../../../javax/swing/text/View.html#getAttributes()">getAttributes</A>, 
<A HREF="../../../javax/swing/text/View.html#getBreakWeight(int, float, float)">getBreakWeight</A>, 
<A HREF="../../../javax/swing/text/View.html#getContainer()">getContainer</A>, 
<A HREF="../../../javax/swing/text/View.html#getDocument()">getDocument</A>, 
<A HREF="../../../javax/swing/text/View.html#getElement()">getElement</A>, 
<A HREF="../../../javax/swing/text/View.html#getEndOffset()">getEndOffset</A>, 
<A HREF="../../../javax/swing/text/View.html#getParent()">getParent</A>, 
<A HREF="../../../javax/swing/text/View.html#getStartOffset()">getStartOffset</A>, 
<A HREF="../../../javax/swing/text/View.html#getViewFactory()">getViewFactory</A>, 
<A HREF="../../../javax/swing/text/View.html#isVisible()">isVisible</A>, 
<A HREF="../../../javax/swing/text/View.html#modelToView(int, java.awt.Shape)">modelToView</A>, 
<A HREF="../../../javax/swing/text/View.html#viewToModel(float, float, java.awt.Shape)">viewToModel</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="TableView(javax.swing.text.Element)"><!-- --></A><H3>
TableView</H3>
<PRE>
public <B>TableView</B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</PRE>
<DL>
<DD>Constructs a TableView for the given element.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - the element that this view is responsible for</DL>
</DD>
</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="createTableRow(javax.swing.text.Element)"><!-- --></A><H3>
createTableRow</H3>
<PRE>
protected <A HREF="../../../javax/swing/text/TableView.TableRow.html">TableView.TableRow</A> <B>createTableRow</B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</PRE>
<DL>
<DD>Creates a new table row.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - an element<DT><B>Returns:</B><DD>the row</DL>
</DD>
</DL>
<HR>

<A NAME="createTableCell(javax.swing.text.Element)"><!-- --></A><H3>
createTableCell</H3>
<PRE>
protected <A HREF="../../../javax/swing/text/TableView.TableCell.html">TableView.TableCell</A> <B>createTableCell</B>(<A HREF="../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</PRE>
<DL>
<DD>Creates a new table cell.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - an element<DT><B>Returns:</B><DD>the cell</DL>
</DD>
</DL>
<HR>

<A NAME="loadChildren(javax.swing.text.ViewFactory)"><!-- --></A><H3>
loadChildren</H3>
<PRE>
protected void <B>loadChildren</B>(<A HREF="../../../javax/swing/text/ViewFactory.html">ViewFactory</A>&nbsp;f)</PRE>
<DL>
<DD>Loads all of the children to initialize the view.
 This is called by the <code>setParent</code> method.
 This is reimplemented to build rows using the
 <code>createTableRow</code> method and then 
 proxy cell entries for each of the cells that
 span multiple columns or rows, substantially 
 reducing the complexity of the layout calculations.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>f</CODE> - the view factory<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/CompositeView.html#loadChildren(javax.swing.text.ViewFactory)">loadChildren</A> in class <A HREF="../../../javax/swing/text/CompositeView.html">CompositeView</A></DL>
</DD>
</DL>
<HR>

<A NAME="layoutColumns(int, int[], int[], javax.swing.SizeRequirements[])"><!-- --></A><H3>
layoutColumns</H3>
<PRE>
protected void <B>layoutColumns</B>(int&nbsp;targetSpan,
                             int[]&nbsp;offsets,
                             int[]&nbsp;spans,
                             <A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A>[]&nbsp;reqs)</PRE>
<DL>
<DD>Layout the columns to fit within the given target span.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>targetSpan</CODE> - the given span for total of all the table
  columns.<DD><CODE>reqs</CODE> - the requirements desired for each column.  This
  is the column maximum of the cells minimum, preferred, and
  maximum requested span.<DD><CODE>spans</CODE> - the return value of how much to allocated to
  each column.<DD><CODE>offsets</CODE> - the return value of the offset from the
  origin for each column.</DL>
</DD>
</DL>
<HR>

<A NAME="layoutMinorAxis(int, int, int[], int[])"><!-- --></A><H3>
layoutMinorAxis</H3>
<PRE>
protected void <B>layoutMinorAxis</B>(int&nbsp;targetSpan,
                               int&nbsp;axis,
                               int[]&nbsp;offsets,
                               int[]&nbsp;spans)</PRE>
<DL>
<DD>Perform layout for the minor axis of the box (i.e. the
 axis orthoginal to the axis that it represents).  The results 
 of the layout should be placed in the given arrays which represent 
 the allocations to the children along the minor axis.  This 
 is called by the superclass whenever the layout needs to be 
 updated along the minor axis.
 <p>
 This is implemented to call the 
 <a href="#layoutColumns">layoutColumns</a> method, and then
 forward to the superclass to actually carry out the layout
 of the tables rows.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>targetSpan</CODE> - the total span given to the view, which
  whould be used to layout the children.<DD><CODE>axis</CODE> - the axis being layed out.<DD><CODE>offsets</CODE> - the offsets from the origin of the view for
  each of the child views.  This is a return value and is
  filled in by the implementation of this method.<DD><CODE>spans</CODE> - the span of each child view.  This is a return
  value and is filled in by the implementation of this method.<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/BoxView.html#layoutMinorAxis(int, int, int[], int[])">layoutMinorAxis</A> in class <A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></DL>
</DD>
</DL>
<HR>

<A NAME="calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)"><!-- --></A><H3>
calculateMinorAxisRequirements</H3>
<PRE>
protected <A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A> <B>calculateMinorAxisRequirements</B>(int&nbsp;axis,
                                                          <A HREF="../../../javax/swing/SizeRequirements.html">SizeRequirements</A>&nbsp;r)</PRE>
<DL>
<DD>Calculate the requirements for the minor axis.  This is called by
 the superclass whenever the requirements need to be updated (i.e.
 a preferenceChanged was messaged through this view).  
 <p>
 This is implemented to calculate the requirements as the sum of the 
 requirements of the columns.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/BoxView.html#calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)">calculateMinorAxisRequirements</A> in class <A HREF="../../../javax/swing/text/BoxView.html">BoxView</A></DL>
</DD>
</DL>
<HR>

<A NAME="getViewAtPosition(int, java.awt.Rectangle)"><!-- --></A><H3>
getViewAtPosition</H3>
<PRE>
protected <A HREF="../../../javax/swing/text/View.html">View</A> <B>getViewAtPosition</B>(int&nbsp;pos,
                                 java.awt.Rectangle&nbsp;a)</PRE>
<DL>
<DD>Fetches the child view that represents the given position in
 the model.  This is implemented to walk through the children
 looking for a range that contains the given position.  In this
 view the children do not necessarily have a one to one mapping 
 with the child elements.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pos</CODE> - the search position >= 0<DD><CODE>a</CODE> - the allocation to the table on entry, and the
   allocation of the view containing the position on exit<DT><B>Overrides:</B><DD><A HREF="../../../javax/swing/text/CompositeView.html#getViewAtPosition(int, java.awt.Rectangle)">getViewAtPosition</A> in class <A HREF="../../../javax/swing/text/CompositeView.html">CompositeView</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/TableView.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/text/StyledEditorKit.UnderlineAction.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../javax/swing/text/TableView.TableCell.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="TableView.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_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.View">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>
