|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.html.dom.HTMLElementImpl
org.apache.html.dom.HTMLSelectElementImpl
HTMLSelectElement,
ElementImpl,
Serialized Form| Field Summary |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Fields inherited from interface org.apache.xerces.dom3.TypeInfo |
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
HTMLSelectElementImpl(HTMLDocumentImpl owner,
java.lang.String name)
Constructor requires owner document. |
|
| Method Summary | |
void |
add(org.w3c.dom.html.HTMLElement element,
org.w3c.dom.html.HTMLElement before)
Add a new element to the collection of OPTION elementsfor
this SELECT. |
void |
blur()
Removes keyboard focus from this element. |
void |
focus()
Gives keyboard focus to this element. |
org.w3c.dom.NodeList |
getChildNodes()
A NodeList that contains all children of this node. |
boolean |
getDisabled()
The control is unavailable in this context. |
int |
getLength()
The number of options in this SELECT. |
boolean |
getMultiple()
If true, multiple OPTION elements may be selected in this
SELECT. |
java.lang.String |
getName()
Form control or object name when submitted with a form. |
org.w3c.dom.html.HTMLCollection |
getOptions()
The collection of OPTION elements contained by this element. |
int |
getSelectedIndex()
The ordinal index of the selected option. |
int |
getSize()
Number of visible rows. |
int |
getTabIndex()
Index that represents the element's position in the tabbing order. |
java.lang.String |
getType()
The type of control created. |
java.lang.String |
getValue()
The current form control value. |
void |
remove(int index)
Remove an element from the collection of OPTION elementsfor
this SELECT. |
void |
setDisabled(boolean disabled)
|
void |
setMultiple(boolean multiple)
|
void |
setName(java.lang.String name)
|
void |
setSelectedIndex(int selectedIndex)
|
void |
setSize(int size)
|
void |
setTabIndex(int tabIndex)
|
void |
setValue(java.lang.String value)
|
| Methods inherited from class org.apache.html.dom.HTMLElementImpl |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
cloneNode, getAttributes, getBaseURI, getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXercesAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodesUnoptimized, getFirstChild, getLastChild, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.html.HTMLSelectElement |
getForm |
| Methods inherited from interface org.w3c.dom.html.HTMLElement |
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
public HTMLSelectElementImpl(HTMLDocumentImpl owner,
java.lang.String name)
owner - The owner HTML document| Method Detail |
public java.lang.String getType()
org.w3c.dom.html.HTMLSelectElement
getType in interface org.w3c.dom.html.HTMLSelectElementpublic java.lang.String getValue()
org.w3c.dom.html.HTMLSelectElement
getValue in interface org.w3c.dom.html.HTMLSelectElementpublic void setValue(java.lang.String value)
setValue in interface org.w3c.dom.html.HTMLSelectElementpublic int getSelectedIndex()
org.w3c.dom.html.HTMLSelectElement
getSelectedIndex in interface org.w3c.dom.html.HTMLSelectElementpublic void setSelectedIndex(int selectedIndex)
setSelectedIndex in interface org.w3c.dom.html.HTMLSelectElementpublic org.w3c.dom.html.HTMLCollection getOptions()
org.w3c.dom.html.HTMLSelectElementOPTION elements contained by this element.
getOptions in interface org.w3c.dom.html.HTMLSelectElementpublic int getLength()
org.w3c.dom.html.HTMLSelectElementSELECT.
getLength in interface org.w3c.dom.html.HTMLSelectElementpublic boolean getDisabled()
org.w3c.dom.html.HTMLSelectElement
getDisabled in interface org.w3c.dom.html.HTMLSelectElementpublic void setDisabled(boolean disabled)
setDisabled in interface org.w3c.dom.html.HTMLSelectElementpublic boolean getMultiple()
org.w3c.dom.html.HTMLSelectElementOPTION elements may be selected in this
SELECT. See the multiple attribute definition in HTML 4.0.
getMultiple in interface org.w3c.dom.html.HTMLSelectElementpublic void setMultiple(boolean multiple)
setMultiple in interface org.w3c.dom.html.HTMLSelectElementpublic java.lang.String getName()
org.w3c.dom.html.HTMLSelectElement
getName in interface org.w3c.dom.html.HTMLSelectElementpublic void setName(java.lang.String name)
setName in interface org.w3c.dom.html.HTMLSelectElementpublic int getSize()
org.w3c.dom.html.HTMLSelectElement
getSize in interface org.w3c.dom.html.HTMLSelectElementpublic void setSize(int size)
setSize in interface org.w3c.dom.html.HTMLSelectElementpublic int getTabIndex()
org.w3c.dom.html.HTMLSelectElement
getTabIndex in interface org.w3c.dom.html.HTMLSelectElementpublic void setTabIndex(int tabIndex)
setTabIndex in interface org.w3c.dom.html.HTMLSelectElement
public void add(org.w3c.dom.html.HTMLElement element,
org.w3c.dom.html.HTMLElement before)
org.w3c.dom.html.HTMLSelectElementOPTION elementsfor
this SELECT.
add in interface org.w3c.dom.html.HTMLSelectElementelement - The element to add.before - The element to insert before, or NULL for the head of the
list.public void remove(int index)
org.w3c.dom.html.HTMLSelectElementOPTION elementsfor
this SELECT. Does nothing if no element has the givenindex.
remove in interface org.w3c.dom.html.HTMLSelectElementindex - The index of the item to remove.public void blur()
org.w3c.dom.html.HTMLSelectElement
blur in interface org.w3c.dom.html.HTMLSelectElementpublic void focus()
org.w3c.dom.html.HTMLSelectElement
focus in interface org.w3c.dom.html.HTMLSelectElementpublic org.w3c.dom.NodeList getChildNodes()
org.w3c.dom.NodeNodeList that contains all children of this node. If
there are no children, this is a NodeList containing no
nodes.
getChildNodes in interface org.w3c.dom.Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||