| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:13:00 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Interface HTMLSelectElement
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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/HTMLSelectElement.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-all.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/w3c/dom/html/HTMLScriptElement.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/w3c/dom/html/HTMLStyleElement.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="HTMLSelectElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | 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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.w3c.dom.html</FONT>
|
| <BR>
|
| Interface HTMLSelectElement</H2>
|
| <HR>
|
| <DL>
|
| <DT>public interface <B>HTMLSelectElement</B><DT>extends <A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A></DL>
|
|
|
| <P>
|
| The select element allows the selection of an option. The containedoptions |
| can be directly accessed through the select element as acollection. See |
| the SELECT element definition in HTML 4.0.
|
| <P>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
| <A NAME="fields_inherited_from_class_org.w3c.dom.Node"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Fields inherited from class org.w3c.dom.<A HREF="../../../../org/w3c/dom/Node.html">Node</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/w3c/dom/Node.html#ATTRIBUTE_NODE">ATTRIBUTE_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#CDATA_SECTION_NODE">CDATA_SECTION_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#COMMENT_NODE">COMMENT_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_FRAGMENT_NODE">DOCUMENT_FRAGMENT_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_NODE">DOCUMENT_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_CONTAINED_BY">DOCUMENT_POSITION_CONTAINED_BY</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_CONTAINS">DOCUMENT_POSITION_CONTAINS</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_DISCONNECTED">DOCUMENT_POSITION_DISCONNECTED</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_FOLLOWING">DOCUMENT_POSITION_FOLLOWING</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC">DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_POSITION_PRECEDING">DOCUMENT_POSITION_PRECEDING</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#DOCUMENT_TYPE_NODE">DOCUMENT_TYPE_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#ELEMENT_NODE">ELEMENT_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#ENTITY_NODE">ENTITY_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#ENTITY_REFERENCE_NODE">ENTITY_REFERENCE_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#NOTATION_NODE">NOTATION_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#PROCESSING_INSTRUCTION_NODE">PROCESSING_INSTRUCTION_NODE</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#TEXT_NODE">TEXT_NODE</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></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/w3c/dom/html/HTMLSelectElement.html#add(org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLElement)">add</A></B>(<A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A> element, |
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A> before)</CODE>
|
|
|
| <BR>
|
| Add a new element to the collection of <code>OPTION</code> elementsfor |
| this <code>SELECT</code>.</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/w3c/dom/html/HTMLSelectElement.html#blur()">blur</A></B>()</CODE>
|
|
|
| <BR>
|
| Removes keyboard focus from this element.</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/w3c/dom/html/HTMLSelectElement.html#focus()">focus</A></B>()</CODE>
|
|
|
| <BR>
|
| Gives keyboard focus to this element.</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/w3c/dom/html/HTMLSelectElement.html#getDisabled()">getDisabled</A></B>()</CODE>
|
|
|
| <BR>
|
| The control is unavailable in this context.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/html/HTMLFormElement.html">HTMLFormElement</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getForm()">getForm</A></B>()</CODE>
|
|
|
| <BR>
|
| Returns the <code>FORM</code> element containing this control.Returns |
| null if this control is not within the context of a form.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getLength()">getLength</A></B>()</CODE>
|
|
|
| <BR>
|
| The number of options in this <code>SELECT</code>.</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/w3c/dom/html/HTMLSelectElement.html#getMultiple()">getMultiple</A></B>()</CODE>
|
|
|
| <BR>
|
| If true, multiple <code>OPTION</code> elements may be selected in this |
| <code>SELECT</code>.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getName()">getName</A></B>()</CODE>
|
|
|
| <BR>
|
| Form control or object name when submitted with a form.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../../org/w3c/dom/html/HTMLCollection.html">HTMLCollection</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getOptions()">getOptions</A></B>()</CODE>
|
|
|
| <BR>
|
| The collection of <code>OPTION</code> elements contained by this element.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getSelectedIndex()">getSelectedIndex</A></B>()</CODE>
|
|
|
| <BR>
|
| The ordinal index of the selected option.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getSize()">getSize</A></B>()</CODE>
|
|
|
| <BR>
|
| Number of visible rows.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> int</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getTabIndex()">getTabIndex</A></B>()</CODE>
|
|
|
| <BR>
|
| Index that represents the element's position in the tabbing order.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getType()">getType</A></B>()</CODE>
|
|
|
| <BR>
|
| The type of control created.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> java.lang.String</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../../org/w3c/dom/html/HTMLSelectElement.html#getValue()">getValue</A></B>()</CODE>
|
|
|
| <BR>
|
| The current form control value.</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/w3c/dom/html/HTMLSelectElement.html#remove(int)">remove</A></B>(int index)</CODE>
|
|
|
| <BR>
|
| Remove an element from the collection of <code>OPTION</code> elementsfor |
| this <code>SELECT</code>.</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/w3c/dom/html/HTMLSelectElement.html#setDisabled(boolean)">setDisabled</A></B>(boolean disabled)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setMultiple(boolean)">setMultiple</A></B>(boolean multiple)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setSelectedIndex(int)">setSelectedIndex</A></B>(int selectedIndex)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setSize(int)">setSize</A></B>(int size)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setTabIndex(int)">setTabIndex</A></B>(int tabIndex)</CODE>
|
|
|
| <BR>
|
| </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/w3c/dom/html/HTMLSelectElement.html#setValue(java.lang.String)">setValue</A></B>(java.lang.String value)</CODE>
|
|
|
| <BR>
|
| </TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.w3c.dom.html.HTMLElement"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from interface org.w3c.dom.html.<A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/w3c/dom/html/HTMLElement.html#getClassName()">getClassName</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#getDir()">getDir</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#getId()">getId</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#getLang()">getLang</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#getTitle()">getTitle</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#setClassName(java.lang.String)">setClassName</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#setDir(java.lang.String)">setDir</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#setId(java.lang.String)">setId</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#setLang(java.lang.String)">setLang</A>,
|
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html#setTitle(java.lang.String)">setTitle</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.w3c.dom.Element"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from interface org.w3c.dom.<A HREF="../../../../org/w3c/dom/Element.html">Element</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/w3c/dom/Element.html#getAttribute(java.lang.String)">getAttribute</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getAttributeNode(java.lang.String)">getAttributeNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getAttributeNodeNS(java.lang.String, java.lang.String)">getAttributeNodeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getAttributeNS(java.lang.String, java.lang.String)">getAttributeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getElementsByTagName(java.lang.String)">getElementsByTagName</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getElementsByTagNameNS(java.lang.String, java.lang.String)">getElementsByTagNameNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getSchemaTypeInfo()">getSchemaTypeInfo</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#getTagName()">getTagName</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#hasAttribute(java.lang.String)">hasAttribute</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#hasAttributeNS(java.lang.String, java.lang.String)">hasAttributeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#removeAttribute(java.lang.String)">removeAttribute</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#removeAttributeNode(org.w3c.dom.Attr)">removeAttributeNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#removeAttributeNS(java.lang.String, java.lang.String)">removeAttributeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setAttributeNode(org.w3c.dom.Attr)">setAttributeNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setAttributeNodeNS(org.w3c.dom.Attr)">setAttributeNodeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setAttributeNS(java.lang.String, java.lang.String, java.lang.String)">setAttributeNS</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setIdAttribute(java.lang.String, boolean)">setIdAttribute</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setIdAttributeNode(org.w3c.dom.Attr, boolean)">setIdAttributeNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Element.html#setIdAttributeNS(java.lang.String, java.lang.String, boolean)">setIdAttributeNS</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
| <A NAME="methods_inherited_from_class_org.w3c.dom.Node"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
| <TD><B>Methods inherited from interface org.w3c.dom.<A HREF="../../../../org/w3c/dom/Node.html">Node</A></B></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD><CODE><A HREF="../../../../org/w3c/dom/Node.html#appendChild(org.w3c.dom.Node)">appendChild</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#cloneNode(boolean)">cloneNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#compareDocumentPosition(org.w3c.dom.Node)">compareDocumentPosition</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getAttributes()">getAttributes</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getBaseURI()">getBaseURI</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getChildNodes()">getChildNodes</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getFeature(java.lang.String, java.lang.String)">getFeature</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getFirstChild()">getFirstChild</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getLastChild()">getLastChild</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getLocalName()">getLocalName</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getNamespaceURI()">getNamespaceURI</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getNextSibling()">getNextSibling</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getNodeName()">getNodeName</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getNodeType()">getNodeType</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getNodeValue()">getNodeValue</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getOwnerDocument()">getOwnerDocument</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getParentNode()">getParentNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getPrefix()">getPrefix</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getPreviousSibling()">getPreviousSibling</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getTextContent()">getTextContent</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#getUserData(java.lang.String)">getUserData</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#hasAttributes()">hasAttributes</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#hasChildNodes()">hasChildNodes</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#insertBefore(org.w3c.dom.Node, org.w3c.dom.Node)">insertBefore</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#isDefaultNamespace(java.lang.String)">isDefaultNamespace</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#isEqualNode(org.w3c.dom.Node)">isEqualNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#isSameNode(org.w3c.dom.Node)">isSameNode</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#isSupported(java.lang.String, java.lang.String)">isSupported</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#lookupNamespaceURI(java.lang.String)">lookupNamespaceURI</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#lookupPrefix(java.lang.String)">lookupPrefix</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#normalize()">normalize</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#removeChild(org.w3c.dom.Node)">removeChild</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#replaceChild(org.w3c.dom.Node, org.w3c.dom.Node)">replaceChild</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#setNodeValue(java.lang.String)">setNodeValue</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#setPrefix(java.lang.String)">setPrefix</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#setTextContent(java.lang.String)">setTextContent</A>,
|
| <A HREF="../../../../org/w3c/dom/Node.html#setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)">setUserData</A></CODE></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="getType()"><!-- --></A><H3>
|
| getType</H3>
|
| <PRE>
|
| public java.lang.String <B>getType</B>()</PRE>
|
| <DL>
|
| <DD>The type of control created.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSelectedIndex()"><!-- --></A><H3>
|
| getSelectedIndex</H3>
|
| <PRE>
|
| public int <B>getSelectedIndex</B>()</PRE>
|
| <DL>
|
| <DD>The ordinal index of the selected option. The value -1 is returned ifno |
| element is selected. If multiple options are selected, the index ofthe |
| first selected option is returned.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSelectedIndex(int)"><!-- --></A><H3>
|
| setSelectedIndex</H3>
|
| <PRE>
|
| public void <B>setSelectedIndex</B>(int selectedIndex)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getValue()"><!-- --></A><H3>
|
| getValue</H3>
|
| <PRE>
|
| public java.lang.String <B>getValue</B>()</PRE>
|
| <DL>
|
| <DD>The current form control value.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setValue(java.lang.String)"><!-- --></A><H3>
|
| setValue</H3>
|
| <PRE>
|
| public void <B>setValue</B>(java.lang.String value)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getLength()"><!-- --></A><H3>
|
| getLength</H3>
|
| <PRE>
|
| public int <B>getLength</B>()</PRE>
|
| <DL>
|
| <DD>The number of options in this <code>SELECT</code>.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getForm()"><!-- --></A><H3>
|
| getForm</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/html/HTMLFormElement.html">HTMLFormElement</A> <B>getForm</B>()</PRE>
|
| <DL>
|
| <DD>Returns the <code>FORM</code> element containing this control.Returns |
| null if this control is not within the context of a form.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getOptions()"><!-- --></A><H3>
|
| getOptions</H3>
|
| <PRE>
|
| public <A HREF="../../../../org/w3c/dom/html/HTMLCollection.html">HTMLCollection</A> <B>getOptions</B>()</PRE>
|
| <DL>
|
| <DD>The collection of <code>OPTION</code> elements contained by this element.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getDisabled()"><!-- --></A><H3>
|
| getDisabled</H3>
|
| <PRE>
|
| public boolean <B>getDisabled</B>()</PRE>
|
| <DL>
|
| <DD>The control is unavailable in this context. See the disabled attribute |
| definition in HTML 4.0.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setDisabled(boolean)"><!-- --></A><H3>
|
| setDisabled</H3>
|
| <PRE>
|
| public void <B>setDisabled</B>(boolean disabled)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getMultiple()"><!-- --></A><H3>
|
| getMultiple</H3>
|
| <PRE>
|
| public boolean <B>getMultiple</B>()</PRE>
|
| <DL>
|
| <DD>If true, multiple <code>OPTION</code> elements may be selected in this |
| <code>SELECT</code>. See the multiple attribute definition in HTML 4.0.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setMultiple(boolean)"><!-- --></A><H3>
|
| setMultiple</H3>
|
| <PRE>
|
| public void <B>setMultiple</B>(boolean multiple)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getName()"><!-- --></A><H3>
|
| getName</H3>
|
| <PRE>
|
| public java.lang.String <B>getName</B>()</PRE>
|
| <DL>
|
| <DD>Form control or object name when submitted with a form. See the name |
| attribute definition in HTML 4.0.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
| setName</H3>
|
| <PRE>
|
| public void <B>setName</B>(java.lang.String name)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getSize()"><!-- --></A><H3>
|
| getSize</H3>
|
| <PRE>
|
| public int <B>getSize</B>()</PRE>
|
| <DL>
|
| <DD>Number of visible rows. See the size attribute definition in HTML 4.0.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setSize(int)"><!-- --></A><H3>
|
| setSize</H3>
|
| <PRE>
|
| public void <B>setSize</B>(int size)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="getTabIndex()"><!-- --></A><H3>
|
| getTabIndex</H3>
|
| <PRE>
|
| public int <B>getTabIndex</B>()</PRE>
|
| <DL>
|
| <DD>Index that represents the element's position in the tabbing order. See |
| the tabindex attribute definition in HTML 4.0.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="setTabIndex(int)"><!-- --></A><H3>
|
| setTabIndex</H3>
|
| <PRE>
|
| public void <B>setTabIndex</B>(int tabIndex)</PRE>
|
| <DL>
|
| <DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="add(org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLElement)"><!-- --></A><H3>
|
| add</H3>
|
| <PRE>
|
| public void <B>add</B>(<A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A> element, |
| <A HREF="../../../../org/w3c/dom/html/HTMLElement.html">HTMLElement</A> before)</PRE>
|
| <DL>
|
| <DD>Add a new element to the collection of <code>OPTION</code> elementsfor |
| this <code>SELECT</code>.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>element</CODE> - The element to add.<DD><CODE>before</CODE> - The element to insert before, or NULL for the head of the |
| list.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="remove(int)"><!-- --></A><H3>
|
| remove</H3>
|
| <PRE>
|
| public void <B>remove</B>(int index)</PRE>
|
| <DL>
|
| <DD>Remove an element from the collection of <code>OPTION</code> elementsfor |
| this <code>SELECT</code>. Does nothing if no element has the givenindex.<DD><DL>
|
| <DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the item to remove.</DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="blur()"><!-- --></A><H3>
|
| blur</H3>
|
| <PRE>
|
| public void <B>blur</B>()</PRE>
|
| <DL>
|
| <DD>Removes keyboard focus from this element.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <HR>
|
|
|
| <A NAME="focus()"><!-- --></A><H3>
|
| focus</H3>
|
| <PRE>
|
| public void <B>focus</B>()</PRE>
|
| <DL>
|
| <DD>Gives keyboard focus to this element.<DD><DL>
|
| </DL>
|
| </DD>
|
| </DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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/HTMLSelectElement.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-all.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/w3c/dom/html/HTMLScriptElement.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../../org/w3c/dom/html/HTMLStyleElement.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="HTMLSelectElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | FIELD | 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>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|