blob: c4259287ebc67ebd6434927fe852e45782c962a0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- saved from url=(0014)about:internet -->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_19) on Sun Mar 20 20:56:37 PKT 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
FormTable (Click Extras API - v2.3.0)
</TITLE>
<META NAME="keywords" CONTENT="org.apache.click.extras.control.FormTable class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="FormTable (Click Extras API - v2.3.0)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white">
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/click/extras/control/FieldColumn.html" title="class in org.apache.click.extras.control"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/click/extras/control/HiddenList.html" title="class in org.apache.click.extras.control"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/click/extras/control/FormTable.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="FormTable.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.click.extras.control</FONT>
<BR>
Class FormTable</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html" title="class or interface in org.apache.click.control">org.apache.click.control.AbstractControl</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">org.apache.click.control.Table</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.click.extras.control.FormTable</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/Stateful.html" title="class or interface in org.apache.click">Stateful</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>FormTable</B><DT>extends <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></DL>
</PRE>
<P>
Provides a FormTable data grid control.
<table cellspacing='10'>
<tr>
<td>
<img align='middle' hspace='2'src='form-table.png' title='FormTable control'/>
</td>
</tr>
</table>
<p/>
The FormTable is a composite control which includes a <A HREF="../../../../../org/apache/click/extras/control/FormTable.html#form"><CODE>form</CODE></A> object
and an array of <A HREF="../../../../../org/apache/click/extras/control/FieldColumn.html" title="class in org.apache.click.extras.control"><CODE>FieldColumn</CODE></A> objects.
<p/>
<b>Please note</b> it is possible to associate FormTable with an external
Form through this <A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable(java.lang.String, org.apache.click.control.Form)"><CODE>constructor</CODE></A>.
<p/>
FieldColumn extends the <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Column.html" title="class or interface in org.apache.click.control"><CODE>Column</CODE></A> class and includes a <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Field.html" title="class or interface in org.apache.click.control"><CODE>Field</CODE></A>
object which is uses to render its column value. Each table data cell
<tt>&lg;td&gt;</tt> contains a uniquely named form field, which is rendered
by the columns field.
<p/>
When the tables form field data is posted the submitted values are processed
by the column field objects using a flyweight style visitor pattern, i.e.
the column field instance is reused and processes all the posted values for
its column.
<p/>
After FormTable changes have been submitted their values will be applied to
the objects contained in the Tables rows list. If the posted values are
invalid for the given field constraints, the field error will be highlighted
in the table. Field error messages will be rendered as 'title' attribute
tooltip values.
<h3>IMPORTANT NOTE</h3>
Do not populate the FormTable rowList in the Page's <tt>onRender()</tt> method.
<p/>
When using the FormTable control its rowList property
must be populated before the control is processed so that any submitted data
values can be applied to the rowList objects. This generally means that the
FormTable rowList should be populated in the page <tt>onInit()</tt> method.
Note this is different from the Table control where the rowlist is generally
populated in the page <tt>onRender()</tt> method.
<h3>FormTable Example</h3>
An code example usage of the FormTable is provided below. This example will
render the FormTable illustrated in the image above.
<pre class="codeJava">
<span class="kw">public class</span> FormTablePage <span class="kw">extends</span> BorderPage {
<span class="kw">private static final int</span> NUM_ROWS = 5;
<span class="kw">public</span> FormTable table = <span class="kw">new</span> FormTable();
<span class="kw">public</span> FormTablePage() {
// Setup customers table
table.addStyleClass(<span class="st">"simple"</span>);
table.setAttribute(<span class="st">"width"</span>, <span class="st">"550px"</span>);
table.getForm().setButtonAlign(Form.ALIGN_RIGHT);
table.addColumn(<span class="kw">new</span> Column(<span class="st">"id"</span>));
FieldColumn column = <span class="kw">new</span> FieldColumn(<span class="st">"name"</span>, new TextField());
column.getField().setRequired(<span class="kw">true</span>);
table.addColumn(column);
column = <span class="kw">new</span> FieldColumn(<span class="st">"investments"</span>, <span class="kw">new</span> InvestmentSelect());
column.getField().setRequired(<span class="kw">true</span>);
table.addColumn(column);
column = <span class="kw">new</span> FieldColumn(<span class="st">"holdings"</span>, <span class="kw">new</span> NumberField());
column.setAttribute(<span class="st">"style"</span>, <span class="st">"{text-align:right;}"</span>);
table.addColumn(column);
column = <span class="kw">new</span> FieldColumn(<span class="st">"active"</span>, <span class="kw">new</span> Checkbox());
column.setAttribute(<span class="st">"style"</span>, <span class="st">"{text-align:center;}"</span>);
table.addColumn(column);
table.getForm().add(<span class="kw">new</span> Submit(<span class="st">"ok"</span>, <span class="st">" OK "</span>, <span class="kw">this</span>, <span class="st">"onOkClick"</span>));
table.getForm().add(<span class="kw">new</span> Submit(<span class="st">"cancel"</span>, <span class="kw">this</span>, <span class="st">"onCancelClick"</span>));
}
<span class="kw">public void</span> onInit() {
<span class="kw">// Populate table before it is processed</span>
List customers = getCustomerService().getCustomersSortedByName(NUM_ROWS);
table.setRowList(customers);
}
<span class="kw">public boolean</span> onOkClick() {
<span class="kw">if</span> (table.getForm().isValid()) {
getDataContext().commitChanges();
}
<span class="kw">return true</span>;
}
<span class="kw">public boolean</span> onCancelClick() {
getDataContext().rollbackChanges();
List customers = getCustomerService().getCustomersSortedByName(NUM_ROWS);
table.setRowList(customers);
table.setRenderSubmittedValues(<span class="kw">false</span>);
<span class="kw">return true</span>;
}
} </pre>
Note in this example the <tt>onCancelClick()</tt> button rolls back the
changes made to the rowList objects, by reloading their values from the
database and having the FormTable not render the submitted values.
<a name="form-example" href="#"></a>
<h3>Combining Form and FormTable</h3>
By default FormTable will create an internal Form to submit its values.
<p/>
If you would like to integrate FormTable with an externally defined Form,
use the <A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable(java.lang.String, org.apache.click.control.Form)"><CODE>constructor</CODE></A>
which accepts a Form.
<p/>
Example usage:
<pre class="prettyprint">
private Form form;
private FormTable formTable;
public void onInit() {
// LIMITATION: Form only processes its children when the Form is submitted.
// Since FormTable sorting and paging is done via GET requests,
// the Form onProcess method won't process the FormTable.
// To fix this we override the default Form#onProcess behavior and check
// if Form was submitted. If it was not we explicitly process the FormTable.
form = new Form("form") {
public boolean onProcess() {
if (isFormSubmission()) {
// Delegate to super implementation
return super.onProcess();
} else {
// If form is not submitted, explicitly process the table
return formTable.onProcess();
}
}
};
formTable = new FormTable("formTable", form);
formTable.setPageSize(10);
form.add(formTable);
...
} </pre>
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/click/extras/control/FieldColumn.html" title="class in org.apache.click.extras.control"><CODE>FieldColumn</CODE></A>,
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control"><CODE>Form</CODE></A>,
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control"><CODE>Table</CODE></A>,
<A HREF="../../../../../serialized-form.html#org.apache.click.extras.control.FormTable">Serialized Form</A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#form">form</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The table form.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#renderSubmittedValues">renderSubmittedValues</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The render the posted form values flag, default value is true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#useInternalForm">useInternalForm</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether an internal Form should be created, true by default.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.click.control.Table"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.click.control.<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#ASCENDING" title="class or interface in org.apache.click.control">ASCENDING</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#bannerPosition" title="class or interface in org.apache.click.control">bannerPosition</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#caption" title="class or interface in org.apache.click.control">caption</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_BLUE1" title="class or interface in org.apache.click.control">CLASS_BLUE1</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_BLUE2" title="class or interface in org.apache.click.control">CLASS_BLUE2</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_COMPLEX" title="class or interface in org.apache.click.control">CLASS_COMPLEX</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_ISI" title="class or interface in org.apache.click.control">CLASS_ISI</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_ITS" title="class or interface in org.apache.click.control">CLASS_ITS</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_MARS" title="class or interface in org.apache.click.control">CLASS_MARS</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_NOCOL" title="class or interface in org.apache.click.control">CLASS_NOCOL</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_ORANGE1" title="class or interface in org.apache.click.control">CLASS_ORANGE1</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_ORANGE2" title="class or interface in org.apache.click.control">CLASS_ORANGE2</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_REPORT" title="class or interface in org.apache.click.control">CLASS_REPORT</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_SIMPLE" title="class or interface in org.apache.click.control">CLASS_SIMPLE</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#CLASS_STYLES" title="class or interface in org.apache.click.control">CLASS_STYLES</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#COLUMN" title="class or interface in org.apache.click.control">COLUMN</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#columnList" title="class or interface in org.apache.click.control">columnList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#columns" title="class or interface in org.apache.click.control">columns</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#controlLink" title="class or interface in org.apache.click.control">controlLink</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#controlList" title="class or interface in org.apache.click.control">controlList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#dataProvider" title="class or interface in org.apache.click.control">dataProvider</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#height" title="class or interface in org.apache.click.control">height</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#hoverRows" title="class or interface in org.apache.click.control">hoverRows</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#nullifyRowListOnDestroy" title="class or interface in org.apache.click.control">nullifyRowListOnDestroy</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#PAGE" title="class or interface in org.apache.click.control">PAGE</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#pageNumber" title="class or interface in org.apache.click.control">pageNumber</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#pageSize" title="class or interface in org.apache.click.control">pageSize</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#paginator" title="class or interface in org.apache.click.control">paginator</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#PAGINATOR_ATTACHED" title="class or interface in org.apache.click.control">PAGINATOR_ATTACHED</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#PAGINATOR_DETACHED" title="class or interface in org.apache.click.control">PAGINATOR_DETACHED</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#PAGINATOR_INLINE" title="class or interface in org.apache.click.control">PAGINATOR_INLINE</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#paginatorAttachment" title="class or interface in org.apache.click.control">paginatorAttachment</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#POSITION_BOTH" title="class or interface in org.apache.click.control">POSITION_BOTH</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#POSITION_BOTTOM" title="class or interface in org.apache.click.control">POSITION_BOTTOM</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#POSITION_TOP" title="class or interface in org.apache.click.control">POSITION_TOP</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderId" title="class or interface in org.apache.click.control">renderId</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#rowCount" title="class or interface in org.apache.click.control">rowCount</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#rowList" title="class or interface in org.apache.click.control">rowList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#showBanner" title="class or interface in org.apache.click.control">showBanner</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#SORT" title="class or interface in org.apache.click.control">SORT</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#sortable" title="class or interface in org.apache.click.control">sortable</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#sorted" title="class or interface in org.apache.click.control">sorted</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#sortedAscending" title="class or interface in org.apache.click.control">sortedAscending</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#sortedColumn" title="class or interface in org.apache.click.control">sortedColumn</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#width" title="class or interface in org.apache.click.control">width</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.click.control.AbstractControl"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.click.control.<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html" title="class or interface in org.apache.click.control">AbstractControl</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#actionListener" title="class or interface in org.apache.click.control">actionListener</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#attributes" title="class or interface in org.apache.click.control">attributes</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#behaviors" title="class or interface in org.apache.click.control">behaviors</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#headElements" title="class or interface in org.apache.click.control">headElements</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#listener" title="class or interface in org.apache.click.control">listener</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#listenerMethod" title="class or interface in org.apache.click.control">listenerMethod</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#messages" title="class or interface in org.apache.click.control">messages</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#name" title="class or interface in org.apache.click.control">name</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#parent" title="class or interface in org.apache.click.control">parent</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#styles" title="class or interface in org.apache.click.control">styles</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.click.Control"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from interface org.apache.click.<A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#CONTROL_MESSAGES" title="class or interface in org.apache.click">CONTROL_MESSAGES</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable()">FormTable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a FormTable with no name defined.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable(java.lang.String)">FormTable</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a FormTable for the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable(java.lang.String, org.apache.click.control.Form)">FormTable</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A>&nbsp;form)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an FormTable for the given name and Form.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Column.html" title="class or interface in org.apache.click.control">Column</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#addColumn(org.apache.click.control.Column)">addColumn</A></B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Column.html" title="class or interface in org.apache.click.control">Column</A>&nbsp;column)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add the column to the table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getButtonsHtml()">getButtonsHtml</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the form buttons HTML string representation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getControlSizeEst()">getControlSizeEst</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getForm()">getForm</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the form object associated with this FormTable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="http://click.apache.org/docs/click-api/org/apache/click/element/Element.html" title="class or interface in org.apache.click.element">Element</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getHeadElements()">getHeadElements</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the HEAD elements for the Control.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getRenderSubmittedValues()">getRenderSubmittedValues</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if the table will render the submitted form values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#onProcess()">onProcess</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Process the FormTable control.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#render(org.apache.click.util.HtmlStringBuffer)">render</A></B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/util/HtmlStringBuffer.html" title="class or interface in org.apache.click.util">HtmlStringBuffer</A>&nbsp;buffer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Render the HTML representation of the FormTable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#renderButtons(org.apache.click.util.HtmlStringBuffer)">renderButtons</A></B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/util/HtmlStringBuffer.html" title="class or interface in org.apache.click.util">HtmlStringBuffer</A>&nbsp;buffer)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Render the Form Buttons to the string buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setName(java.lang.String)">setName</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setPageNumber(int)">setPageNumber</A></B>(int&nbsp;pageNumber)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setParent(java.lang.Object)">setParent</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;parent)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the parent of the FormTable.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setRenderSubmittedValues(boolean)">setRenderSubmittedValues</A></B>(boolean&nbsp;render)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set whether the table should render the submitted form values.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setRowList(java.util.List)">setRowList</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;rowList)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the list of form table rows.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setSortedAscending(boolean)">setSortedAscending</A></B>(boolean&nbsp;ascending)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/click/extras/control/FormTable.html#setSortedColumn(java.lang.String)">setSortedColumn</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;columnName)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.click.control.Table"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.click.control.<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#add(org.apache.click.Control)" title="class or interface in org.apache.click.control">add</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#addControl(org.apache.click.Control)" title="class or interface in org.apache.click.control">addControl</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#addRowAttributes(java.util.Map, java.lang.Object, int)" title="class or interface in org.apache.click.control">addRowAttributes</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#createRowList()" title="class or interface in org.apache.click.control">createRowList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getBannerPosition()" title="class or interface in org.apache.click.control">getBannerPosition</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getCaption()" title="class or interface in org.apache.click.control">getCaption</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getColumn(java.lang.String)" title="class or interface in org.apache.click.control">getColumn</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getColumnList()" title="class or interface in org.apache.click.control">getColumnList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getColumns()" title="class or interface in org.apache.click.control">getColumns</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getControlLink()" title="class or interface in org.apache.click.control">getControlLink</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getControls()" title="class or interface in org.apache.click.control">getControls</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getDataProvider()" title="class or interface in org.apache.click.control">getDataProvider</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getFirstRow()" title="class or interface in org.apache.click.control">getFirstRow</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getHeight()" title="class or interface in org.apache.click.control">getHeight</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getHoverRows()" title="class or interface in org.apache.click.control">getHoverRows</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getLastRow()" title="class or interface in org.apache.click.control">getLastRow</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getNullifyRowListOnDestroy()" title="class or interface in org.apache.click.control">getNullifyRowListOnDestroy</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getNumberPages()" title="class or interface in org.apache.click.control">getNumberPages</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getPageNumber()" title="class or interface in org.apache.click.control">getPageNumber</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getPageSize()" title="class or interface in org.apache.click.control">getPageSize</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getPaginator()" title="class or interface in org.apache.click.control">getPaginator</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getPaginatorAttachment()" title="class or interface in org.apache.click.control">getPaginatorAttachment</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getRenderId()" title="class or interface in org.apache.click.control">getRenderId</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getRowCount()" title="class or interface in org.apache.click.control">getRowCount</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getRowList()" title="class or interface in org.apache.click.control">getRowList</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getShowBanner()" title="class or interface in org.apache.click.control">getShowBanner</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getSortable()" title="class or interface in org.apache.click.control">getSortable</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getSortedColumn()" title="class or interface in org.apache.click.control">getSortedColumn</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getState()" title="class or interface in org.apache.click.control">getState</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getTag()" title="class or interface in org.apache.click.control">getTag</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getWidth()" title="class or interface in org.apache.click.control">getWidth</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#hasControls()" title="class or interface in org.apache.click.control">hasControls</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#isSorted()" title="class or interface in org.apache.click.control">isSorted</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#isSortedAscending()" title="class or interface in org.apache.click.control">isSortedAscending</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onDestroy()" title="class or interface in org.apache.click.control">onDestroy</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onInit()" title="class or interface in org.apache.click.control">onInit</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onRender()" title="class or interface in org.apache.click.control">onRender</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#removeColumn(org.apache.click.control.Column)" title="class or interface in org.apache.click.control">removeColumn</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#removeColumn(java.lang.String)" title="class or interface in org.apache.click.control">removeColumn</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#removeColumns(java.util.List)" title="class or interface in org.apache.click.control">removeColumns</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#removeState(org.apache.click.Context)" title="class or interface in org.apache.click.control">removeState</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderBodyNoRows(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderBodyNoRows</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderBodyRowColumns(org.apache.click.util.HtmlStringBuffer, int)" title="class or interface in org.apache.click.control">renderBodyRowColumns</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderBodyRows(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderBodyRows</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderFooterRow(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderFooterRow</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderHeaderRow(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderHeaderRow</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderPaginator(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderPaginator</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderPagingControls(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderPagingControls</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#renderTableBanner(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderTableBanner</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#restoreState(org.apache.click.Context)" title="class or interface in org.apache.click.control">restoreState</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#saveState(org.apache.click.Context)" title="class or interface in org.apache.click.control">saveState</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setBannerPosition(int)" title="class or interface in org.apache.click.control">setBannerPosition</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setCaption(java.lang.String)" title="class or interface in org.apache.click.control">setCaption</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setClass(java.lang.String)" title="class or interface in org.apache.click.control">setClass</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setDataProvider(org.apache.click.dataprovider.DataProvider)" title="class or interface in org.apache.click.control">setDataProvider</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setHeight(java.lang.String)" title="class or interface in org.apache.click.control">setHeight</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setHoverRows(boolean)" title="class or interface in org.apache.click.control">setHoverRows</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setNullifyRowListOnDestroy(boolean)" title="class or interface in org.apache.click.control">setNullifyRowListOnDestroy</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setPageSize(int)" title="class or interface in org.apache.click.control">setPageSize</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setPaginator(org.apache.click.control.Renderable)" title="class or interface in org.apache.click.control">setPaginator</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setPaginatorAttachment(int)" title="class or interface in org.apache.click.control">setPaginatorAttachment</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setRenderId(boolean)" title="class or interface in org.apache.click.control">setRenderId</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setShowBanner(boolean)" title="class or interface in org.apache.click.control">setShowBanner</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSortable(boolean)" title="class or interface in org.apache.click.control">setSortable</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSorted(boolean)" title="class or interface in org.apache.click.control">setSorted</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setState(java.lang.Object)" title="class or interface in org.apache.click.control">setState</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setWidth(java.lang.String)" title="class or interface in org.apache.click.control">setWidth</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#sortRowList()" title="class or interface in org.apache.click.control">sortRowList</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.click.control.AbstractControl"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.click.control.<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html" title="class or interface in org.apache.click.control">AbstractControl</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#addBehavior(org.apache.click.Behavior)" title="class or interface in org.apache.click.control">addBehavior</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#addStyleClass(java.lang.String)" title="class or interface in org.apache.click.control">addStyleClass</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#appendAttributes(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">appendAttributes</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#dispatchActionEvent()" title="class or interface in org.apache.click.control">dispatchActionEvent</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getActionListener()" title="class or interface in org.apache.click.control">getActionListener</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getAttribute(java.lang.String)" title="class or interface in org.apache.click.control">getAttribute</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getAttributes()" title="class or interface in org.apache.click.control">getAttributes</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getBehaviors()" title="class or interface in org.apache.click.control">getBehaviors</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getContext()" title="class or interface in org.apache.click.control">getContext</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getHtmlImports()" title="class or interface in org.apache.click.control">getHtmlImports</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getId()" title="class or interface in org.apache.click.control">getId</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getMessage(java.lang.String)" title="class or interface in org.apache.click.control">getMessage</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getMessage(java.lang.String, java.lang.Object...)" title="class or interface in org.apache.click.control">getMessage</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getMessages()" title="class or interface in org.apache.click.control">getMessages</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getName()" title="class or interface in org.apache.click.control">getName</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getPage()" title="class or interface in org.apache.click.control">getPage</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getParent()" title="class or interface in org.apache.click.control">getParent</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getStyle(java.lang.String)" title="class or interface in org.apache.click.control">getStyle</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getStyles()" title="class or interface in org.apache.click.control">getStyles</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#hasAttribute(java.lang.String)" title="class or interface in org.apache.click.control">hasAttribute</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#hasAttributes()" title="class or interface in org.apache.click.control">hasAttributes</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#hasBehaviors()" title="class or interface in org.apache.click.control">hasBehaviors</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#hasStyles()" title="class or interface in org.apache.click.control">hasStyles</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#isAjaxTarget(org.apache.click.Context)" title="class or interface in org.apache.click.control">isAjaxTarget</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#onDeploy(javax.servlet.ServletContext)" title="class or interface in org.apache.click.control">onDeploy</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#removeBehavior(org.apache.click.Behavior)" title="class or interface in org.apache.click.control">removeBehavior</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#removeStyleClass(java.lang.String)" title="class or interface in org.apache.click.control">removeStyleClass</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#renderTagBegin(java.lang.String, org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderTagBegin</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#renderTagEnd(java.lang.String, org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">renderTagEnd</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#setActionListener(org.apache.click.ActionListener)" title="class or interface in org.apache.click.control">setActionListener</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#setAttribute(java.lang.String, java.lang.String)" title="class or interface in org.apache.click.control">setAttribute</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#setId(java.lang.String)" title="class or interface in org.apache.click.control">setId</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#setListener(java.lang.Object, java.lang.String)" title="class or interface in org.apache.click.control">setListener</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#setStyle(java.lang.String, java.lang.String)" title="class or interface in org.apache.click.control">setStyle</A>, <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#toString()" title="class or interface in org.apache.click.control">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="form"><!-- --></A><H3>
form</H3>
<PRE>
protected <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A> <B>form</B></PRE>
<DL>
<DD>The table form.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="useInternalForm"><!-- --></A><H3>
useInternalForm</H3>
<PRE>
protected boolean <B>useInternalForm</B></PRE>
<DL>
<DD>Indicates whether an internal Form should be created, true by default.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="renderSubmittedValues"><!-- --></A><H3>
renderSubmittedValues</H3>
<PRE>
protected boolean <B>renderSubmittedValues</B></PRE>
<DL>
<DD>The render the posted form values flag, default value is true.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="FormTable(java.lang.String, org.apache.click.control.Form)"><!-- --></A><H3>
FormTable</H3>
<PRE>
public <B>FormTable</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A>&nbsp;form)</PRE>
<DL>
<DD>Create an FormTable for the given name and Form.
<p/>
If you want to add the FormTable to an externally defined Form, this is
the constructor to use.
<p/>
<b>Please note:</b> if you want to use FormTable with an external Form,
see <a href="#form-example">this example</a> which demonstrates a
workaround of the <tt>form submit limitation</tt>.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the table name<DD><CODE>form</CODE> - the table form
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null</DL>
</DL>
<HR>
<A NAME="FormTable(java.lang.String)"><!-- --></A><H3>
FormTable</H3>
<PRE>
public <B>FormTable</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Create a FormTable for the given name.
<p/>
<b>Note</b> that an internal Form control will automatically be created
by FormTable.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the table name
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null</DL>
</DL>
<HR>
<A NAME="FormTable()"><!-- --></A><H3>
FormTable</H3>
<PRE>
public <B>FormTable</B>()</PRE>
<DL>
<DD>Create a FormTable with no name defined.
<p/>
<b>Note</b> that an internal Form control will automatically be created
by FormTable.
<p/>
<b>Please note</b> the control's name must be defined before it is valid.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getButtonsHtml()"><!-- --></A><H3>
getButtonsHtml</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getButtonsHtml</B>()</PRE>
<DL>
<DD>Return the form buttons HTML string representation.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the form buttons HTML string representation</DL>
</DD>
</DL>
<HR>
<A NAME="addColumn(org.apache.click.control.Column)"><!-- --></A><H3>
addColumn</H3>
<PRE>
public <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Column.html" title="class or interface in org.apache.click.control">Column</A> <B>addColumn</B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Column.html" title="class or interface in org.apache.click.control">Column</A>&nbsp;column)</PRE>
<DL>
<DD>Add the column to the table. The column will be added to the
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#columns" title="class or interface in org.apache.click.control"><CODE>Table.columns</CODE></A> Map using its name.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#addColumn(org.apache.click.control.Column)" title="class or interface in org.apache.click.control">addColumn</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>column</CODE> - the column to add to the table
<DT><B>Returns:</B><DD>the added column
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the table already contains a column
with the same name<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#addColumn(org.apache.click.control.Column)" title="class or interface in org.apache.click.control"><CODE>Table.addColumn(Column)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getForm()"><!-- --></A><H3>
getForm</H3>
<PRE>
public <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Form.html" title="class or interface in org.apache.click.control">Form</A> <B>getForm</B>()</PRE>
<DL>
<DD>Return the form object associated with this FormTable.
<p/>
The returned Form control will either be an internally created Form
instance, or an external instance specified through
this <A HREF="../../../../../org/apache/click/extras/control/FormTable.html#FormTable(java.lang.String, org.apache.click.control.Form)"><CODE>contructor</CODE></A>.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the form object</DL>
</DD>
</DL>
<HR>
<A NAME="getHeadElements()"><!-- --></A><H3>
getHeadElements</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&lt;<A HREF="http://click.apache.org/docs/click-api/org/apache/click/element/Element.html" title="class or interface in org.apache.click.element">Element</A>&gt; <B>getHeadElements</B>()</PRE>
<DL>
<DD>Return the HEAD elements for the Control. This method will include the
HEAD elements of the contained fields.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#getHeadElements()" title="class or interface in org.apache.click">getHeadElements</A></CODE> in interface <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getHeadElements()" title="class or interface in org.apache.click.control">getHeadElements</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the list of HEAD elements<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#getHeadElements()" title="class or interface in org.apache.click"><CODE>Control.getHeadElements()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#setName(java.lang.String)" title="class or interface in org.apache.click">setName</A></CODE> in interface <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setName(java.lang.String)" title="class or interface in org.apache.click.control">setName</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - of the control
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the name is null<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#setName(java.lang.String)" title="class or interface in org.apache.click"><CODE>Control.setName(String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setParent(java.lang.Object)"><!-- --></A><H3>
setParent</H3>
<PRE>
public void <B>setParent</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;parent)</PRE>
<DL>
<DD>Set the parent of the FormTable. Also set the parent of the
<A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getControlLink()" title="class or interface in org.apache.click.control"><CODE>Table.getControlLink()</CODE></A> to the <A HREF="../../../../../org/apache/click/extras/control/FormTable.html#getForm()"><CODE>getForm()</CODE></A>.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#setParent(java.lang.Object)" title="class or interface in org.apache.click">setParent</A></CODE> in interface <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setParent(java.lang.Object)" title="class or interface in org.apache.click.control">setParent</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent of the FormTable
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalStateException.html" title="class or interface in java.lang">IllegalStateException</A></CODE> - if <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#name" title="class or interface in org.apache.click.control"><CODE>AbstractControl.name</CODE></A> is not defined
<DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the given parent instance is
referencing <tt>this</tt> object: <tt>if (parent == this)</tt><DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#setParent(java.lang.Object)" title="class or interface in org.apache.click"><CODE>Control.setParent(Object)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getRenderSubmittedValues()"><!-- --></A><H3>
getRenderSubmittedValues</H3>
<PRE>
public boolean <B>getRenderSubmittedValues</B>()</PRE>
<DL>
<DD>Return true if the table will render the submitted form values. By
default FormTable renders submitted values.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if the table will render the submitted form values</DL>
</DD>
</DL>
<HR>
<A NAME="setRenderSubmittedValues(boolean)"><!-- --></A><H3>
setRenderSubmittedValues</H3>
<PRE>
public void <B>setRenderSubmittedValues</B>(boolean&nbsp;render)</PRE>
<DL>
<DD>Set whether the table should render the submitted form values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>render</CODE> - set whether the table should render the submitted form values</DL>
</DD>
</DL>
<HR>
<A NAME="setRowList(java.util.List)"><!-- --></A><H3>
setRowList</H3>
<PRE>
public void <B>setRowList</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/List.html" title="class or interface in java.util">List</A>&nbsp;rowList)</PRE>
<DL>
<DD>Set the list of form table rows. Each row can either be a value object
(JavaBean) or an instance of a <tt>Map</tt>.
<p/>
<b>Important</b> ensure you set the rowList before control is processed
so posted object changes can be applied. Do not invoke this method via
the Page onRender() method, otherwise object updates will not be applied.
<p/>
Please note the rowList is cleared in table <A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onDestroy()" title="class or interface in org.apache.click.control"><CODE>Table.onDestroy()</CODE></A> method
at the end of each request.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setRowList(java.util.List)" title="class or interface in org.apache.click.control">setRowList</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rowList</CODE> - the list of table rows to set</DL>
</DD>
</DL>
<HR>
<A NAME="setSortedColumn(java.lang.String)"><!-- --></A><H3>
setSortedColumn</H3>
<PRE>
public void <B>setSortedColumn</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;columnName)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSortedColumn(java.lang.String)" title="class or interface in org.apache.click.control">setSortedColumn</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>columnName</CODE> - the name of the sorted column<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSortedColumn(java.lang.String)" title="class or interface in org.apache.click.control"><CODE>Table.setSortedColumn(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setSortedAscending(boolean)"><!-- --></A><H3>
setSortedAscending</H3>
<PRE>
public void <B>setSortedAscending</B>(boolean&nbsp;ascending)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSortedAscending(boolean)" title="class or interface in org.apache.click.control">setSortedAscending</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ascending</CODE> - the ascending sort order status<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setSortedAscending(boolean)" title="class or interface in org.apache.click.control"><CODE>Table.setSortedAscending(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="setPageNumber(int)"><!-- --></A><H3>
setPageNumber</H3>
<PRE>
public void <B>setPageNumber</B>(int&nbsp;pageNumber)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setPageNumber(int)" title="class or interface in org.apache.click.control">setPageNumber</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageNumber</CODE> - set the currently displayed page number<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#setPageNumber(int)" title="class or interface in org.apache.click.control"><CODE>Table.setPageNumber(int)</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="onProcess()"><!-- --></A><H3>
onProcess</H3>
<PRE>
public boolean <B>onProcess</B>()</PRE>
<DL>
<DD>Process the FormTable control. This method will process the submitted
form data applying its values to the objects contained in the Tables
rowList.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#onProcess()" title="class or interface in org.apache.click">onProcess</A></CODE> in interface <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onProcess()" title="class or interface in org.apache.click.control">onProcess</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if further processing should continue or false otherwise<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#onProcess()" title="class or interface in org.apache.click.control"><CODE>Table.onProcess()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="getControlSizeEst()"><!-- --></A><H3>
getControlSizeEst</H3>
<PRE>
public int <B>getControlSizeEst</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#getControlSizeEst()" title="class or interface in org.apache.click.control">getControlSizeEst</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the estimated rendered control size in characters<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#getControlSizeEst()" title="class or interface in org.apache.click.control"><CODE>AbstractControl.getControlSizeEst()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="render(org.apache.click.util.HtmlStringBuffer)"><!-- --></A><H3>
render</H3>
<PRE>
public void <B>render</B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/util/HtmlStringBuffer.html" title="class or interface in org.apache.click.util">HtmlStringBuffer</A>&nbsp;buffer)</PRE>
<DL>
<DD>Render the HTML representation of the FormTable.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html#render(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click">render</A></CODE> in interface <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/Control.html" title="class or interface in org.apache.click">Control</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html#render(org.apache.click.util.HtmlStringBuffer)" title="class or interface in org.apache.click.control">render</A></CODE> in class <CODE><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/Table.html" title="class or interface in org.apache.click.control">Table</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the specified buffer to render the control's output to<DT><B>See Also:</B><DD><A HREF="http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html#toString()" title="class or interface in org.apache.click.control"><CODE>AbstractControl.toString()</CODE></A></DL>
</DD>
</DL>
<HR>
<A NAME="renderButtons(org.apache.click.util.HtmlStringBuffer)"><!-- --></A><H3>
renderButtons</H3>
<PRE>
protected void <B>renderButtons</B>(<A HREF="http://click.apache.org/docs/click-api/org/apache/click/util/HtmlStringBuffer.html" title="class or interface in org.apache.click.util">HtmlStringBuffer</A>&nbsp;buffer)</PRE>
<DL>
<DD>Render the Form Buttons to the string buffer.
<p/>
This method is only invoked if the Form is created by the FormTable,
and not when the Form is defined externally.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the StringBuffer to render to</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/click/extras/control/FieldColumn.html" title="class in org.apache.click.extras.control"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/click/extras/control/HiddenList.html" title="class in org.apache.click.extras.control"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/click/extras/control/FormTable.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="FormTable.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<style type='text/css'>.str{color:#2A00FF;}.kwd{color:#7F0055;font-weight:bold;}.com{color:#3F7F5F;}.typ{color:#000;}.lit{color:#066;}.pun{color:#660;}.pln{color:#000;}.tag{color:#000099;font-weight:bold;}.atn{color:#009900;}.atv{color:#000;}.dec{color:#606;}pre.prettyprint{padding:1em;border:1px solid #888;overflow:auto;}@media print{.str{color:#2A00FF;}.kwd{color:#7F0055;font-weight:bold;}.com{color:#3F7F5F;font-style:italic;}.typ{color:#000;font-weight:bold;}.lit{color:#044;}.pun{color:#440;}.pln{color:#000;}.tag{color:#000099;font-weight:bold;}.atn{color:#009900;}.atv{color:#000;}}</style><script type='text/javascript'>var PR_keywords={};(function(){var CPP_KEYWORDS='abstract bool break case catch char class const '+'const_cast continue default delete deprecated dllexport dllimport do '+'double dynamic_cast else enum explicit extern false float for friend '+'goto if inline int long mutable naked namespace new noinline noreturn '+'nothrow novtable operator private property protected public register '+'reinterpret_cast return selectany short signed sizeof static '+'static_cast struct switch template this thread throw true try typedef '+'typeid typename union unsigned using declaration, directive uuid '+'virtual void volatile while typeof';var CSHARP_KEYWORDS='as base by byte checked decimal delegate descending '+'event finally fixed foreach from group implicit in interface internal '+'into is lock null object override orderby params readonly ref sbyte '+'sealed stackalloc string select uint ulong unchecked unsafe ushort var';var JAVA_KEYWORDS='package synchronized boolean implements import throws '+'instanceof transient extends final strictfp native super';var JSCRIPT_KEYWORDS='debugger export function with NaN Infinity';var PERL_KEYWORDS='require sub unless until use elsif BEGIN END';var PYTHON_KEYWORDS='and assert def del elif except exec global lambda '+'not or pass print raise yield False True None';var RUBY_KEYWORDS='then end begin rescue ensure module when undef next '+'redo retry alias defined';var SH_KEYWORDS='done fi';var KEYWORDS=[CPP_KEYWORDS,CSHARP_KEYWORDS,JAVA_KEYWORDS,JSCRIPT_KEYWORDS,PERL_KEYWORDS,PYTHON_KEYWORDS,RUBY_KEYWORDS,SH_KEYWORDS];for(var k=0;k<KEYWORDS.length;k++){var kw=KEYWORDS[k].split(' ');for(var i=0;i<kw.length;i++){if(kw[i]){PR_keywords[kw[i]]=true;}}}}).call(this);var PR_STRING='str';var PR_KEYWORD='kwd';var PR_COMMENT='com';var PR_TYPE='typ';var PR_LITERAL='lit';var PR_PUNCTUATION='pun';var PR_PLAIN='pln';var PR_TAG='tag';var PR_DECLARATION='dec';var PR_SOURCE='src';var PR_ATTRIB_NAME='atn';var PR_ATTRIB_VALUE='atv';var PR_TAB_WIDTH=8;function PR_isWordChar(ch){return(ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z');}function PR_spliceArrayInto(inserted,container,containerPosition,countReplaced){inserted.unshift(containerPosition,countReplaced||0);try{container.splice.apply(container,inserted);}finally{inserted.splice(0,2);}}var REGEXP_PRECEDER_PATTERN=(function(){var preceders=['!','!=','!==','#','%','%=','&','&&','&&=','&=','(','*','*=','+=',',','-=','->','/','/=',':','::',';','<','<<','<<=','<=','=','==','===','>','>=','>>','>>=','>>>','>>>=','?','@','[','^','^=','^^','^^=','{','|','|=','||','||=','~','break','case','continue','delete','do','else','finally','instanceof','return','throw','try','typeof'];var pattern='(?:'+'(?:(?:^|[^0-9\.])\\.{1,3})|'+'(?:(?:^|[^\\+])\\+)|'+'(?:(?:^|[^\\-])-)';for(var i=0;i<preceders.length;++i){var preceder=preceders[i];if(PR_isWordChar(preceder.charAt(0))){pattern+='|\\b'+preceder;}else{pattern+='|'+preceder.replace(/([^=<>:&])/g,'\\$1');}}pattern+='|^)\\s*$';return new RegExp(pattern);})();var pr_amp=/&/g;var pr_lt=/</g;var pr_gt=/>/g;var pr_quot=/"/g;function PR_attribToHtml(str){return str.replace(pr_amp,'&amp;').replace(pr_lt,'&lt;').replace(pr_gt,'&gt;').replace(pr_quot,'&quot;');}function PR_textToHtml(str){return str.replace(pr_amp,'&amp;').replace(pr_lt,'&lt;').replace(pr_gt,'&gt;');}var pr_ltEnt=/&lt;/g;var pr_gtEnt=/&gt;/g;var pr_aposEnt=/&apos;/g;var pr_quotEnt=/&quot;/g;var pr_ampEnt=/&amp;/g;function PR_htmlToText(html){var pos=html.indexOf('&');if(pos<0){return html;}for(--pos;(pos=html.indexOf('&#',pos+1))>=0;){var end=html.indexOf(';',pos);if(end>=0){var num=html.substring(pos+3,end);var radix=10;if(num&&num.charAt(0)=='x'){num=num.substring(1);radix=16;}var codePoint=parseInt(num,radix);if(!isNaN(codePoint)){html=(html.substring(0,pos)+String.fromCharCode(codePoint)+html.substring(end+1));}}}return html.replace(pr_ltEnt,'<').replace(pr_gtEnt,'>').replace(pr_aposEnt,"'").replace(pr_quotEnt,'"').replace(pr_ampEnt,'&');}function PR_isRawContent(node){return'XMP'==node.tagName;}var PR_innerHtmlWorks=null;function PR_getInnerHtml(node){if(null===PR_innerHtmlWorks){var testNode=document.createElement('PRE');testNode.appendChild(document.createTextNode('<!DOCTYPE foo PUBLIC "foo bar">\n<foo />'));PR_innerHtmlWorks=!/</.test(testNode.innerHTML);}if(PR_innerHtmlWorks){var content=node.innerHTML;if(PR_isRawContent(node)){content=PR_textToHtml(content);}return content;}var out=[];for(var child=node.firstChild;child;child=child.nextSibling){PR_normalizedHtml(child,out);}return out.join('');}function PR_normalizedHtml(node,out){switch(node.nodeType){case 1:var name=node.tagName.toLowerCase();out.push('\074',name);for(var i=0;i<node.attributes.length;++i){var attr=node.attributes[i];if(!attr.specified){continue;}out.push(' ');PR_normalizedHtml(attr,out);}out.push('>');for(var child=node.firstChild;child;child=child.nextSibling){PR_normalizedHtml(child,out);}if(node.firstChild||!/^(?:br|link|img)$/.test(name)){out.push('<\/',name,'>');}break;case 2:out.push(node.name.toLowerCase(),'="',PR_attribToHtml(node.value),'"');break;case 3:case 4:out.push(PR_textToHtml(node.nodeValue));break;}}function PR_tabExpander(tabWidth){var SPACES=' ';var charInLine=0;return function(plainText){var out=null;var pos=0;for(var i=0,n=plainText.length;i<n;++i){var ch=plainText.charAt(i);switch(ch){case'\t':if(!out){out=[];}out.push(plainText.substring(pos,i));var nSpaces=tabWidth-(charInLine%tabWidth);charInLine+=nSpaces;for(;nSpaces>=0;nSpaces-=SPACES.length){out.push(SPACES.substring(0,nSpaces));}pos=i+1;break;case'\n':charInLine=0;break;default:++charInLine;}}if(!out){return plainText;}out.push(plainText.substring(pos));return out.join('');};}var pr_chunkPattern=/(?:[^<]+|<!--[\s\S]*?-->|<!\[CDATA\[([\s\S]*?)\]\]>|<\/?[a-zA-Z][^>]*>|<)/g;var pr_commentPrefix=/^<!--/;var pr_cdataPrefix=/^<\[CDATA\[/;var pr_brPrefix=/^<br\b/i;function PR_extractTags(s){var matches=s.match(pr_chunkPattern);var sourceBuf=[];var sourceBufLen=0;var extractedTags=[];if(matches){for(var i=0,n=matches.length;i<n;++i){var match=matches[i];if(match.length>1&&match.charAt(0)==='<'){if(pr_commentPrefix.test(match)){continue;}if(pr_cdataPrefix.test(match)){sourceBuf.push(match.substring(9,match.length-3));sourceBufLen+=match.length-12;}else if(pr_brPrefix.test(match)){sourceBuf.push('\n');sourceBufLen+=1;}else{extractedTags.push(sourceBufLen,match);}}else{var literalText=PR_htmlToText(match);sourceBuf.push(literalText);sourceBufLen+=literalText.length;}}}return{source:sourceBuf.join(''),tags:extractedTags};}function PR_createSimpleLexer(shortcutStylePatterns,fallthroughStylePatterns){var shortcuts={};(function(){var allPatterns=shortcutStylePatterns.concat(fallthroughStylePatterns);for(var i=allPatterns.length;--i>=0;){var patternParts=allPatterns[i];var shortcutChars=patternParts[3];if(shortcutChars){for(var c=shortcutChars.length;--c>=0;){shortcuts[shortcutChars.charAt(c)]=patternParts;}}}})();var nPatterns=fallthroughStylePatterns.length;return function(sourceCode,opt_basePos){opt_basePos=opt_basePos||0;var decorations=[opt_basePos,PR_PLAIN];var lastToken='';var pos=0;var tail=sourceCode;while(tail.length){var style;var token=null;var patternParts=shortcuts[tail.charAt(0)];if(patternParts){var match=tail.match(patternParts[1]);token=match[0];style=patternParts[0];}else{for(var i=0;i<nPatterns;++i){patternParts=fallthroughStylePatterns[i];var contextPattern=patternParts[2];if(contextPattern&&!contextPattern.test(lastToken)){continue;}var match=tail.match(patternParts[1]);if(match){token=match[0];style=patternParts[0];break;}}if(!token){style=PR_PLAIN;token=tail.substring(0,1);}}decorations.push(opt_basePos+pos,style);pos+=token.length;tail=tail.substring(token.length);if(style!==PR_COMMENT&&/\S/.test(token)){lastToken=token;}}return decorations;};}var PR_C_STYLE_STRING_AND_COMMENT_LEXER=PR_createSimpleLexer([[PR_STRING,/^\'(?:[^\\\']|\\[\s\S])*(?:\'|$)/,null,"'"],[PR_STRING,/^"(?:[^\\"]|\\[\s\S])*(?:"|$)/,null,'"'],[PR_STRING,/^\`(?:[^\\\`]|\\[\s\S])*(?:\`|$)/,null,'`']],[[PR_PLAIN,/^(?:[^\'"\`\/\#]+)/,null,' \r\n'],[PR_COMMENT,/^#[^\r\n]*/,null,'#'],[PR_COMMENT,/^\/\/[^\r\n]*/,null],[PR_STRING,/^\/(?:[^\\\*\/]|\\[\s\S])+(?:\/|$)/,REGEXP_PRECEDER_PATTERN],[PR_COMMENT,/^\/\*[\s\S]*?(?:\*\/|$)/,null]]);function PR_splitStringAndCommentTokens(sourceCode){return PR_C_STYLE_STRING_AND_COMMENT_LEXER(sourceCode);}var PR_C_STYLE_LITERAL_IDENTIFIER_PUNC_RECOGNIZER=PR_createSimpleLexer([],[[PR_PLAIN,/^\s+/,null,' \r\n'],[PR_PLAIN,/^[a-z_$@][a-z_$@0-9]*/i,null],[PR_LITERAL,/^0x[a-f0-9]+[a-z]/i,null],[PR_LITERAL,/^(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?[a-z]*/i,null,'123456789'],[PR_PUNCTUATION,/^[^\s\w\.$@]+/,null]]);function PR_splitNonStringNonCommentTokens(source,decorations){for(var i=0;i<decorations.length;i+=2){var style=decorations[i+1];if(style===PR_PLAIN){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;var chunk=source.substring(start,end);var subDecs=PR_C_STYLE_LITERAL_IDENTIFIER_PUNC_RECOGNIZER(chunk,start);for(var j=0,m=subDecs.length;j<m;j+=2){var subStyle=subDecs[j+1];if(subStyle===PR_PLAIN){var subStart=subDecs[j];var subEnd=j+2<m?subDecs[j+2]:chunk.length;var token=source.substring(subStart,subEnd);if(token=='.'){subDecs[j+1]=PR_PUNCTUATION;}else if(token in PR_keywords){subDecs[j+1]=PR_KEYWORD;}else if(/^@?[A-Z][A-Z$]*[a-z][A-Za-z$]*$/.test(token)){subDecs[j+1]=token.charAt(0)=='@'?PR_LITERAL:PR_TYPE;}}}PR_spliceArrayInto(subDecs,decorations,i,2);i+=subDecs.length-2;}}return decorations;}var PR_MARKUP_LEXER=PR_createSimpleLexer([],[[PR_PLAIN,/^[^<]+/,null],[PR_DECLARATION,/^<!\w[^>]*(?:>|$)/,null],[PR_COMMENT,/^<!--[\s\S]*?(?:-->|$)/,null],[PR_SOURCE,/^<\?[\s\S]*?(?:\?>|$)/,null],[PR_SOURCE,/^<%[\s\S]*?(?:%>|$)/,null],[PR_SOURCE,/^<(script|style|xmp)\b[^>]*>[\s\S]*?<\/\1\b[^>]*>/i,null],[PR_TAG,/^<\/?\w[^<>]*>/,null]]);var PR_SOURCE_CHUNK_PARTS=/^(<[^>]*>)([\s\S]*)(<\/[^>]*>)$/;function PR_tokenizeMarkup(source){var decorations=PR_MARKUP_LEXER(source);for(var i=0;i<decorations.length;i+=2){if(decorations[i+1]===PR_SOURCE){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;var sourceChunk=source.substring(start,end);var match=(sourceChunk.match(PR_SOURCE_CHUNK_PARTS));if(match){decorations.splice(i,2,start,PR_TAG,start+match[1].length,PR_SOURCE,start+match[1].length+(match[2]||'').length,PR_TAG);}}}return decorations;}var PR_TAG_LEXER=PR_createSimpleLexer([[PR_ATTRIB_VALUE,/^\'[^\']*(?:\'|$)/,null,"'"],[PR_ATTRIB_VALUE,/^"[^"]*(?:"|$)/,null,'"'],[PR_PUNCTUATION,/^[<>\/=]+/,null,'<>/=']],[[PR_TAG,/^[\w-]+/,/^</],[PR_ATTRIB_VALUE,/^[\w-]+/,/^=/],[PR_ATTRIB_NAME,/^[\w-]+/,null],[PR_PLAIN,/^\s+/,null,' \r\n']]);function PR_splitTagAttributes(source,decorations){for(var i=0;i<decorations.length;i+=2){var style=decorations[i+1];if(style===PR_TAG){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;var chunk=source.substring(start,end);var subDecorations=PR_TAG_LEXER(chunk,start);PR_spliceArrayInto(subDecorations,decorations,i,2);i+=subDecorations.length-2;}}return decorations;}function PR_splitSourceNodes(source,decorations){for(var i=0;i<decorations.length;i+=2){var style=decorations[i+1];if(style==PR_SOURCE){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;var subDecorations=PR_decorateSource(source.substring(start,end));for(var j=0,m=subDecorations.length;j<m;j+=2){subDecorations[j]+=start;}PR_spliceArrayInto(subDecorations,decorations,i,2);i+=subDecorations.length-2;}}return decorations;}function PR_splitSourceAttributes(source,decorations){var nextValueIsSource=false;for(var i=0;i<decorations.length;i+=2){var style=decorations[i+1];if(style===PR_ATTRIB_NAME){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;nextValueIsSource=/^on|^style$/i.test(source.substring(start,end));}else if(style==PR_ATTRIB_VALUE){if(nextValueIsSource){var start=decorations[i];var end=i+2<decorations.length?decorations[i+2]:source.length;var attribValue=source.substring(start,end);var attribLen=attribValue.length;var quoted=(attribLen>=2&&/^["\']/.test(attribValue)&&attribValue.charAt(0)===attribValue.charAt(attribLen-1));var attribSource;var attribSourceStart;var attribSourceEnd;if(quoted){attribSourceStart=start+1;attribSourceEnd=end-1;attribSource=attribValue;}else{attribSourceStart=start+1;attribSourceEnd=end-1;attribSource=attribValue.substring(1,attribValue.length-1);}var attribSourceDecorations=PR_decorateSource(attribSource);for(var j=0,m=attribSourceDecorations.length;j<m;j+=2){attribSourceDecorations[j]+=attribSourceStart;}if(quoted){attribSourceDecorations.push(attribSourceEnd,PR_ATTRIB_VALUE);PR_spliceArrayInto(attribSourceDecorations,decorations,i+2,0);}else{PR_spliceArrayInto(attribSourceDecorations,decorations,i,2);}}nextValueIsSource=false;}}return decorations;}function PR_decorateSource(sourceCode){var decorations=PR_splitStringAndCommentTokens(sourceCode);decorations=PR_splitNonStringNonCommentTokens(sourceCode,decorations);return decorations;}function PR_decorateMarkup(sourceCode){var decorations=PR_tokenizeMarkup(sourceCode);decorations=PR_splitTagAttributes(sourceCode,decorations);decorations=PR_splitSourceNodes(sourceCode,decorations);decorations=PR_splitSourceAttributes(sourceCode,decorations);return decorations;}function PR_recombineTagsAndDecorations(sourceText,extractedTags,decorations){var html=[];var outputIdx=0;var openDecoration=null;var currentDecoration=null;var tagPos=0;var decPos=0;var tabExpander=PR_tabExpander(PR_TAB_WIDTH);function emitTextUpTo(sourceIdx){if(sourceIdx>outputIdx){if(openDecoration&&openDecoration!==currentDecoration){html.push('</span>');openDecoration=null;}if(!openDecoration&&currentDecoration){openDecoration=currentDecoration;html.push('<span class="',openDecoration,'">');}var htmlChunk=PR_textToHtml(tabExpander(sourceText.substring(outputIdx,sourceIdx))).replace(/(\r\n?|\n| ) /g,'$1&nbsp;').replace(/\r\n?|\n/g,'&nbsp;<br>');html.push(htmlChunk);outputIdx=sourceIdx;}}while(true){var outputTag;if(tagPos<extractedTags.length){if(decPos<decorations.length){outputTag=extractedTags[tagPos]<=decorations[decPos];}else{outputTag=true;}}else{outputTag=false;}if(outputTag){emitTextUpTo(extractedTags[tagPos]);if(openDecoration){html.push('</span>');openDecoration=null;}html.push(extractedTags[tagPos+1]);tagPos+=2;}else if(decPos<decorations.length){emitTextUpTo(decorations[decPos]);currentDecoration=decorations[decPos+1];decPos+=2;}else{break;}}emitTextUpTo(sourceText.length);if(openDecoration){html.push('</span>');}return html.join('');}function prettyPrintOne(sourceCodeHtml){try{var sourceAndExtractedTags=PR_extractTags(sourceCodeHtml);var source=sourceAndExtractedTags.source;var extractedTags=sourceAndExtractedTags.tags;var isMarkup=/^\s*</.test(source)&&/>\s*$/.test(source);var decorations=isMarkup?PR_decorateMarkup(source):PR_decorateSource(source);return PR_recombineTagsAndDecorations(source,extractedTags,decorations);}catch(e){if('console'in window){console.log(e);console.trace();}return sourceCodeHtml;}}var PR_SHOULD_USE_CONTINUATION=true;function prettyPrint(opt_whenDone){var codeSegments=[document.getElementsByTagName('pre'),document.getElementsByTagName('code'),document.getElementsByTagName('xmp')];var elements=[];for(var i=0;i<codeSegments.length;++i){for(var j=0;j<codeSegments[i].length;++j){elements.push(codeSegments[i][j]);}}codeSegments=null;var k=0;function doWork(){var endTime=(PR_SHOULD_USE_CONTINUATION?new Date().getTime()+250:Infinity);for(;k<elements.length&&new Date().getTime()<endTime;k++){var cs=elements[k];if(cs.className&&cs.className.indexOf('prettyprint')>=0){var nested=false;for(var p=cs.parentNode;p!=null;p=p.parentNode){if((p.tagName=='pre'||p.tagName=='code'||p.tagName=='xmp')&&p.className&&p.className.indexOf('prettyprint')>=0){nested=true;break;}}if(!nested){var content=PR_getInnerHtml(cs);content=content.replace(/(?:\r\n?|\n)$/,'');var newContent=prettyPrintOne(content);if(!PR_isRawContent(cs)){cs.innerHTML=newContent;}else{var pre=document.createElement('PRE');for(var i=0;i<cs.attributes.length;++i){var a=cs.attributes[i];if(a.specified){pre.setAttribute(a.name,a.value);}}pre.innerHTML=newContent;cs.parentNode.replaceChild(pre,cs);}}}}if(k<elements.length){setTimeout(doWork,250);}else if(opt_whenDone){opt_whenDone();}}doWork();}</script><script type='text/javascript'>prettyPrint();</script></BODY>
</HTML>