<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 06:02:01 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  ListView
</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/ListView.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/html/InlineView.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/MinimalHTMLWriter.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="ListView.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&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.html</FONT>
<BR>
Class  ListView</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>
                    |
                    +--<A HREF="../../../../javax/swing/text/html/BlockView.html">javax.swing.text.html.BlockView</A>
                          |
                          +--<B>javax.swing.text.html.ListView</B>
</PRE>
<HR>
<DL>
<DT>public class <B>ListView</B><DT>extends <A HREF="../../../../javax/swing/text/html/BlockView.html">BlockView</A></DL>

<P>
A view implementation to display an html list
<P>
<HR>

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


<!-- =========== 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/html/ListView.html#ListView(javax.swing.text.Element)">ListView</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 view that represents a list 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>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../javax/swing/text/html/ListView.html#getAlignment(int)">getAlignment</A></B>(int&nbsp;axis)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the desired shape of the list.</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/text/html/ListView.html#paint(java.awt.Graphics, java.awt.Shape)">paint</A></B>(java.awt.Graphics&nbsp;g,
      java.awt.Shape&nbsp;allocation)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders using the given rendering surface and area on that
 surface.</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/html/ListView.html#paintChild(java.awt.Graphics, java.awt.Rectangle, int)">paintChild</A></B>(java.awt.Graphics&nbsp;g,
           java.awt.Rectangle&nbsp;alloc,
           int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints one of the children; called by paint().</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.html.BlockView"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.html.<A HREF="../../../../javax/swing/text/html/BlockView.html">BlockView</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../../../javax/swing/text/html/BlockView.html#getAttributes()">getAttributes</A>, 
<A HREF="../../../../javax/swing/text/html/BlockView.html#getResizeWeight(int)">getResizeWeight</A>, 
<A HREF="../../../../javax/swing/text/html/BlockView.html#getStyleSheet()">getStyleSheet</A>, 
<A HREF="../../../../javax/swing/text/html/BlockView.html#setPropertiesFromAttributes()">setPropertiesFromAttributes</A></CODE></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#calculateMinorAxisRequirements(int, javax.swing.SizeRequirements)">calculateMinorAxisRequirements</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#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#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#layoutMinorAxis(int, int, int[], int[])">layoutMinorAxis</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#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#getViewAtPosition(int, java.awt.Rectangle)">getViewAtPosition</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#loadChildren(javax.swing.text.ViewFactory)">loadChildren</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#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="ListView(javax.swing.text.Element)"><!-- --></A><H3>
ListView</H3>
<PRE>
public <B>ListView</B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A>&nbsp;elem)</PRE>
<DL>
<DD>Creates a new view that represents a list element.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>elem</CODE> - the element to create a view 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="getAlignment(int)"><!-- --></A><H3>
getAlignment</H3>
<PRE>
public float <B>getAlignment</B>(int&nbsp;axis)</PRE>
<DL>
<DD>Calculates the desired shape of the list.<DD><DL>
<DT><B>Returns:</B><DD>the desired span<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/html/BlockView.html#getAlignment(int)">getAlignment</A> in class <A HREF="../../../../javax/swing/text/html/BlockView.html">BlockView</A><DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/text/View.html#getPreferredSpan(int)"><CODE>View.getPreferredSpan(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="paint(java.awt.Graphics, java.awt.Shape)"><!-- --></A><H3>
paint</H3>
<PRE>
public void <B>paint</B>(java.awt.Graphics&nbsp;g,
                  java.awt.Shape&nbsp;allocation)</PRE>
<DL>
<DD>Renders using the given rendering surface and area on that
 surface.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the rendering surface to use<DD><CODE>allocation</CODE> - the allocated region to render into<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/html/BlockView.html#paint(java.awt.Graphics, java.awt.Shape)">paint</A> in class <A HREF="../../../../javax/swing/text/html/BlockView.html">BlockView</A><DT><B>See Also: </B><DD><A HREF="../../../../javax/swing/text/View.html#paint(java.awt.Graphics, java.awt.Shape)"><CODE>View.paint(java.awt.Graphics, java.awt.Shape)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="paintChild(java.awt.Graphics, java.awt.Rectangle, int)"><!-- --></A><H3>
paintChild</H3>
<PRE>
protected void <B>paintChild</B>(java.awt.Graphics&nbsp;g,
                          java.awt.Rectangle&nbsp;alloc,
                          int&nbsp;index)</PRE>
<DL>
<DD>Paints one of the children; called by paint().  By default
 that is all it does, but a subclass can use this to paint
 things relative to the child.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>g</CODE> - the graphics context<DD><CODE>alloc</CODE> - the allocated region to render the child into<DD><CODE>index</CODE> - the index of the child<DT><B>Overrides:</B><DD><A HREF="../../../../javax/swing/text/BoxView.html#paintChild(java.awt.Graphics, java.awt.Rectangle, int)">paintChild</A> in class <A HREF="../../../../javax/swing/text/BoxView.html">BoxView</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/ListView.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/html/InlineView.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../javax/swing/text/html/MinimalHTMLWriter.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="ListView.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&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>
