public class HTMLSelectElementImpl extends HTMLControl implements org.w3c.dom.html.HTMLSelectElement
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_SELECT_MULTIPLE |
static String |
TYPE_SELECT_ONE |
UNSPECIFIED_ATTRIBUTECONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
HTMLSelectElementImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.w3c.dom.html.HTMLElement element,
org.w3c.dom.html.HTMLElement before) |
void |
blur()
simulate blur
|
void |
focus()
simulate focus;
|
int |
getLength() |
boolean |
getMultiple() |
org.w3c.dom.html.HTMLCollection |
getOptions() |
int |
getSelectedIndex() |
int |
getSize() |
String |
getType() |
String |
getValue() |
void |
remove(int index) |
void |
reset() |
void |
setMultiple(boolean multiple) |
void |
setSelectedIndex(int selectedIndex) |
void |
setSize(int size) |
void |
setValue(String value) |
getDisabled, getForm, getName, getReadOnly, getTabIndex, setDisabled, setName, setReadOnly, setTabIndex, silenceSubmitButtonclick, doClickAction, getAttributeWithDefault, getAttributeWithNoDefault, getBooleanAttribute, getClassName, getDir, getElementsByTagName, getId, getIntegerAttribute, getIntegerAttribute, getLang, getTitle, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setTitleaddDomListener, createElement, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagNameNS, getNodeType, getNodeValue, getSchemaTypeInfo, handleEvent, hasAttribute, hasAttributeNS, hasAttributes, importNode, removeAttribute, removeAttributeNode, removeAttributeNS, reportPropertyChanged, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValuegetLocalName, getNamespaceURI, getNodeName, getTagName, initialize, initializeappendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildIfPermitted, getChildNodes, getElementsByTagNames, getFeature, getFirstChild, getJavaPropertyName, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, preOrderIterator, preOrderIterator, preOrderIteratorAfterNode, preOrderIteratorAfterNode, removeChild, replaceChild, setPrefix, setTextContent, setUserDataclearCaches, createAnonymousFunctionName, get, has, newScriptingEngine, putclearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleScriptException, runScript, supportsScriptLanguageassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisabled, getForm, getName, getTabIndex, setDisabled, setName, setTabIndexgetClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitlegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic static final String TYPE_SELECT_ONE
public static final String TYPE_SELECT_MULTIPLE
public void add(org.w3c.dom.html.HTMLElement element, org.w3c.dom.html.HTMLElement before) throws DOMException
add in interface org.w3c.dom.html.HTMLSelectElementDOMExceptionpublic void blur()
blur in interface org.w3c.dom.html.HTMLSelectElementpublic void focus()
focus in interface org.w3c.dom.html.HTMLSelectElementpublic String getType()
getType in interface org.w3c.dom.html.HTMLSelectElementgetType in class HTMLControlpublic int getLength()
getLength in interface org.w3c.dom.html.HTMLSelectElementpublic boolean getMultiple()
getMultiple in interface org.w3c.dom.html.HTMLSelectElementpublic org.w3c.dom.html.HTMLCollection getOptions()
getOptions in interface org.w3c.dom.html.HTMLSelectElementpublic int getSelectedIndex()
getSelectedIndex in interface org.w3c.dom.html.HTMLSelectElementpublic String getValue()
getValue in interface org.w3c.dom.html.HTMLSelectElementpublic int getSize()
getSize in interface org.w3c.dom.html.HTMLSelectElementpublic void remove(int index)
remove in interface org.w3c.dom.html.HTMLSelectElementpublic void setMultiple(boolean multiple)
setMultiple in interface org.w3c.dom.html.HTMLSelectElementpublic void setSelectedIndex(int selectedIndex)
setSelectedIndex in interface org.w3c.dom.html.HTMLSelectElementpublic void setSize(int size)
setSize in interface org.w3c.dom.html.HTMLSelectElementpublic void setValue(String value)
setValue in interface org.w3c.dom.html.HTMLSelectElementpublic void reset()
reset in class HTMLControlCopyright © 2012. All Rights Reserved.