| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_45) on Tue Mar 28 22:15:34 CEST 2017 --> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <TITLE> |
| ListBox (Simple ODF v0.8.2-incubating - http://odftoolkit) |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2017-03-28"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ListBox (Simple ODF v0.8.2-incubating - http://odftoolkit)"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= 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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ListBox.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/odftoolkit/simple/form/Label.html" title="class in org.odftoolkit.simple.form"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/odftoolkit/simple/form/NumericField.html" title="class in org.odftoolkit.simple.form"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/odftoolkit/simple/form/ListBox.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ListBox.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#fields_inherited_from_class_org.odftoolkit.simple.form.FormControl">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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.odftoolkit.simple.form</FONT> |
| <BR> |
| Class ListBox</H2> |
| <PRE> |
| <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">org.odftoolkit.simple.Component</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">org.odftoolkit.simple.form.FormControl</A> |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.odftoolkit.simple.form.ListBox</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>ListBox</B><DT>extends <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></DL> |
| </PRE> |
| |
| <P> |
| This class represents the form control of List Box, provides methods to |
| get/set the form properties and the style formatting of this control. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>0.8</DD> |
| </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> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_org.odftoolkit.simple.form.FormControl"><!-- --></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.odftoolkit.simple.form.<A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#drawingShape">drawingShape</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#formElement">formElement</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#mElement">mElement</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#mFormProperties">mFormProperties</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== 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> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#addItem(java.lang.String)">addItem</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> item)</CODE> |
| |
| <BR> |
| Add a list item to this list box.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#addItems(java.lang.String[])">addItems</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] items)</CODE> |
| |
| <BR> |
| Add a group of list items to this list box</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getDataField()">getDataField</A></B>()</CODE> |
| |
| <BR> |
| Get the data field referenced by this combo box</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getEntries()">getEntries</A></B>()</CODE> |
| |
| <BR> |
| Get the list entries if they are initiated through a list of string.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getFormDropdown()">getFormDropdown</A></B>()</CODE> |
| |
| <BR> |
| Get the visibility of the drop-down list</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getFormMultiSelection()">getFormMultiSelection</A></B>()</CODE> |
| |
| <BR> |
| Get if the list box support multi-selection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getId()">getId</A></B>()</CODE> |
| |
| <BR> |
| Get the control id.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/odftoolkit/simple/form/ListBox.html" title="class in org.odftoolkit.simple.form">ListBox</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getInstanceOf(org.odftoolkit.odfdom.dom.element.form.FormListboxElement)">getInstanceOf</A></B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.form">FormListboxElement</A> element)</CODE> |
| |
| <BR> |
| Get an instance of list box by an instance of FormListboxElement, while |
| searching the document content to make a bind with the DrawControl which |
| already reference to this list box.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getListSource()">getListSource</A></B>()</CODE> |
| |
| <BR> |
| Get the source of this data list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/odftoolkit/simple/form/FormTypeDefinition.FormListSourceType.html" title="enum in org.odftoolkit.simple.form">FormTypeDefinition.FormListSourceType</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getListSourceType()">getListSourceType</A></B>()</CODE> |
| |
| <BR> |
| Get the source type of the data list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getName()">getName</A></B>()</CODE> |
| |
| <BR> |
| Get the control name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A>></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#getSimpleIterator(org.odftoolkit.simple.form.Form)">getSimpleIterator</A></B>(<A HREF="../../../../org/odftoolkit/simple/form/Form.html" title="interface in org.odftoolkit.simple.form">Form</A> container)</CODE> |
| |
| <BR> |
| Get a simple iterator for list boxes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setControlImplementation(java.lang.String)">setControlImplementation</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> controlImpl)</CODE> |
| |
| <BR> |
| Set the implementation of this control.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setDataField(java.lang.String)">setDataField</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dataField)</CODE> |
| |
| <BR> |
| Set the data field referenced by this combo box</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setFormDropdown(boolean)">setFormDropdown</A></B>(boolean isDropDown)</CODE> |
| |
| <BR> |
| Set the visibility of the drop-down list</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setFormMultiSelection(boolean)">setFormMultiSelection</A></B>(boolean isMultiSelection)</CODE> |
| |
| <BR> |
| Set if the list box support multi-selection</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setId(java.lang.String)">setId</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id)</CODE> |
| |
| <BR> |
| Set the control id.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setListSource(java.lang.String)">setListSource</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> listSource)</CODE> |
| |
| <BR> |
| Set the source of this data list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setListSourceType(org.odftoolkit.simple.form.FormTypeDefinition.FormListSourceType)">setListSourceType</A></B>(<A HREF="../../../../org/odftoolkit/simple/form/FormTypeDefinition.FormListSourceType.html" title="enum in org.odftoolkit.simple.form">FormTypeDefinition.FormListSourceType</A> type)</CODE> |
| |
| <BR> |
| Set the source type of the data list.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/odftoolkit/simple/form/ListBox.html#setName(java.lang.String)">setName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
| |
| <BR> |
| Set the control name.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.odftoolkit.simple.form.FormControl"><!-- --></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.odftoolkit.simple.form.<A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getDrawControl()">getDrawControl</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getOdfElement()">getOdfElement</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getRectangle()">getRectangle</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#remove()">remove</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setAnchorType(org.odftoolkit.simple.style.StyleTypeDefinitions.AnchorType)">setAnchorType</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setFormProperty(java.lang.String, java.lang.String, java.lang.String, java.lang.Boolean, java.lang.String, java.lang.String, java.lang.Double, java.lang.String)">setFormProperty</A>, <A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setRectangle(org.odftoolkit.simple.draw.FrameRectangle)">setRectangle</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_org.odftoolkit.simple.Component"><!-- --></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.odftoolkit.simple.<A HREF="../../../../org/odftoolkit/simple/Component.html" title="class in org.odftoolkit.simple">Component</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="../../../../org/odftoolkit/simple/Component.html#getComponentByElement(org.odftoolkit.odfdom.pkg.OdfElement)">getComponentByElement</A>, <A HREF="../../../../org/odftoolkit/simple/Component.html#getOwnerDocument()">getOwnerDocument</A>, <A HREF="../../../../org/odftoolkit/simple/Component.html#registerComponent(org.odftoolkit.simple.Component, org.odftoolkit.odfdom.pkg.OdfElement)">registerComponent</A>, <A HREF="../../../../org/odftoolkit/simple/Component.html#unregisterComponent(org.odftoolkit.odfdom.pkg.OdfElement)">unregisterComponent</A></CODE></TD> |
| </TR> |
| </TABLE> |
| <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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ 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="getInstanceOf(org.odftoolkit.odfdom.dom.element.form.FormListboxElement)"><!-- --></A><H3> |
| getInstanceOf</H3> |
| <PRE> |
| public static <A HREF="../../../../org/odftoolkit/simple/form/ListBox.html" title="class in org.odftoolkit.simple.form">ListBox</A> <B>getInstanceOf</B>(<A HREF="http://incubator.apache.org/odftoolkit/odfdom/index.html/apidocs/org/odftoolkit/odfdom/dom/element/form/FormListboxElement.html?is-external=true" title="class or interface in org.odftoolkit.odfdom.dom.element.form">FormListboxElement</A> element)</PRE> |
| <DL> |
| <DD>Get an instance of list box by an instance of FormListboxElement, while |
| searching the document content to make a bind with the DrawControl which |
| already reference to this list box. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - - an instance of FormComboboxElement |
| <DT><B>Returns:</B><DD>an instance of list box</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setControlImplementation(java.lang.String)"><!-- --></A><H3> |
| setControlImplementation</H3> |
| <PRE> |
| public void <B>setControlImplementation</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> controlImpl)</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setControlImplementation(java.lang.String)">FormControl</A></CODE></B></DD> |
| <DD>Set the implementation of this control. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setControlImplementation(java.lang.String)">setControlImplementation</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>controlImpl</CODE> - - the implementation description of this control</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getId()"><!-- --></A><H3> |
| getId</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getId</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getId()">FormControl</A></CODE></B></DD> |
| <DD>Get the control id. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getId()">getId</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the control id.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setId(java.lang.String)"><!-- --></A><H3> |
| setId</H3> |
| <PRE> |
| public void <B>setId</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> id)</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setId(java.lang.String)">FormControl</A></CODE></B></DD> |
| <DD>Set the control id. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setId(java.lang.String)">setId</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>id</CODE> - -the control id.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getName()"><!-- --></A><H3> |
| getName</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getName()">FormControl</A></CODE></B></DD> |
| <DD>Get the control name. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the control name.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setName(java.lang.String)"><!-- --></A><H3> |
| setName</H3> |
| <PRE> |
| public void <B>setName</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
| <DL> |
| <DD><B>Description copied from class: <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setName(java.lang.String)">FormControl</A></CODE></B></DD> |
| <DD>Set the control name. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html#setName(java.lang.String)">setName</A></CODE> in class <CODE><A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A></CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - - the control name.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFormMultiSelection(boolean)"><!-- --></A><H3> |
| setFormMultiSelection</H3> |
| <PRE> |
| public void <B>setFormMultiSelection</B>(boolean isMultiSelection)</PRE> |
| <DL> |
| <DD>Set if the list box support multi-selection |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>isMultiSelection</CODE> - - specify if the list box supports multi-selection</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFormMultiSelection()"><!-- --></A><H3> |
| getFormMultiSelection</H3> |
| <PRE> |
| public boolean <B>getFormMultiSelection</B>()</PRE> |
| <DL> |
| <DD>Get if the list box support multi-selection |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the list box supports multi-selection; false if not.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFormDropdown(boolean)"><!-- --></A><H3> |
| setFormDropdown</H3> |
| <PRE> |
| public void <B>setFormDropdown</B>(boolean isDropDown)</PRE> |
| <DL> |
| <DD>Set the visibility of the drop-down list |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>isDropDown</CODE> - - specify if the drop-down list is visible</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFormDropdown()"><!-- --></A><H3> |
| getFormDropdown</H3> |
| <PRE> |
| public boolean <B>getFormDropdown</B>()</PRE> |
| <DL> |
| <DD>Get the visibility of the drop-down list |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>true if the drop-down list is visible; false if not.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addItem(java.lang.String)"><!-- --></A><H3> |
| addItem</H3> |
| <PRE> |
| public void <B>addItem</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> item)</PRE> |
| <DL> |
| <DD>Add a list item to this list box. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>item</CODE> - - a list item</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEntries()"><!-- --></A><H3> |
| getEntries</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>> <B>getEntries</B>()</PRE> |
| <DL> |
| <DD>Get the list entries if they are initiated through a list of string. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the list entries</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addItems(java.lang.String[])"><!-- --></A><H3> |
| addItems</H3> |
| <PRE> |
| public void <B>addItems</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] items)</PRE> |
| <DL> |
| <DD>Add a group of list items to this list box |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>items</CODE> - -a group of list items</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setListSourceType(org.odftoolkit.simple.form.FormTypeDefinition.FormListSourceType)"><!-- --></A><H3> |
| setListSourceType</H3> |
| <PRE> |
| public void <B>setListSourceType</B>(<A HREF="../../../../org/odftoolkit/simple/form/FormTypeDefinition.FormListSourceType.html" title="enum in org.odftoolkit.simple.form">FormTypeDefinition.FormListSourceType</A> type)</PRE> |
| <DL> |
| <DD>Set the source type of the data list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - - the source type of this list</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getListSourceType()"><!-- --></A><H3> |
| getListSourceType</H3> |
| <PRE> |
| public <A HREF="../../../../org/odftoolkit/simple/form/FormTypeDefinition.FormListSourceType.html" title="enum in org.odftoolkit.simple.form">FormTypeDefinition.FormListSourceType</A> <B>getListSourceType</B>()</PRE> |
| <DL> |
| <DD>Get the source type of the data list. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the source type of this list</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setListSource(java.lang.String)"><!-- --></A><H3> |
| setListSource</H3> |
| <PRE> |
| public void <B>setListSource</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> listSource)</PRE> |
| <DL> |
| <DD>Set the source of this data list. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>listSource</CODE> - - the source of this data list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getListSource()"><!-- --></A><H3> |
| getListSource</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getListSource</B>()</PRE> |
| <DL> |
| <DD>Get the source of this data list. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the source of this data list.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDataField(java.lang.String)"><!-- --></A><H3> |
| setDataField</H3> |
| <PRE> |
| public void <B>setDataField</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dataField)</PRE> |
| <DL> |
| <DD>Set the data field referenced by this combo box |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>dataField</CODE> - - the data field referenced by this combo box</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDataField()"><!-- --></A><H3> |
| getDataField</H3> |
| <PRE> |
| public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDataField</B>()</PRE> |
| <DL> |
| <DD>Get the data field referenced by this combo box |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>the data field</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSimpleIterator(org.odftoolkit.simple.form.Form)"><!-- --></A><H3> |
| getSimpleIterator</H3> |
| <PRE> |
| public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/odftoolkit/simple/form/FormControl.html" title="class in org.odftoolkit.simple.form">FormControl</A>> <B>getSimpleIterator</B>(<A HREF="../../../../org/odftoolkit/simple/form/Form.html" title="interface in org.odftoolkit.simple.form">Form</A> container)</PRE> |
| <DL> |
| <DD>Get a simple iterator for list boxes. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>container</CODE> - - an instance of form where to traverse the list boxes</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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ListBox.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/odftoolkit/simple/form/Label.html" title="class in org.odftoolkit.simple.form"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/odftoolkit/simple/form/NumericField.html" title="class in org.odftoolkit.simple.form"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/odftoolkit/simple/form/ListBox.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="ListBox.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | <A HREF="#fields_inherited_from_class_org.odftoolkit.simple.form.FormControl">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| Copyright © 2010-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved. |
| </BODY> |
| </HTML> |