|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.apache.xerces.dom.NodeImpl | +--org.enhydra.apache.xerces.dom.ChildNode | +--org.enhydra.apache.xerces.dom.ParentNode | +--org.enhydra.apache.xerces.dom.ElementImpl | +--org.enhydra.xml.lazydom.LazyElementNoNS | +--org.enhydra.xml.lazydom.html.LazyHTMLElement | +--org.enhydra.xml.lazydom.html.HTMLSelectElementImpl
HTMLSelectElement
,
LazyElementNoNS
, Serialized FormFields inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
attributes, name, serialVersionUID |
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode |
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument |
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
Fields inherited from interface org.enhydra.xml.lazydom.LazyNode |
DOCUMENT_NODE_ID, NULL_NODE_ID |
Constructor Summary | |
HTMLSelectElementImpl(LazyHTMLDocument owner,
LazyElement template,
String name)
Constructor requires owner document. |
Method Summary | |
void |
add(HTMLElement element,
HTMLElement before)
|
void |
blur()
|
Node |
cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getOptions() gets cleared. |
void |
focus()
|
NodeList |
getChildNodes()
Explicit implementation of getChildNodes() to avoid problems with overriding the getLength() method hidden in the super class. |
boolean |
getDisabled()
|
int |
getLength()
|
boolean |
getMultiple()
|
String |
getName()
|
HTMLCollection |
getOptions()
|
int |
getSelectedIndex()
|
int |
getSize()
|
int |
getTabIndex()
|
String |
getType()
|
String |
getValue()
|
void |
remove(int index)
|
void |
setDisabled(boolean disabled)
|
void |
setMultiple(boolean multiple)
|
void |
setName(String name)
|
void |
setSelectedIndex(int selectedIndex)
|
void |
setSize(int size)
|
void |
setTabIndex(int tabIndex)
|
void |
setValue(String value)
|
Methods inherited from class org.enhydra.xml.lazydom.html.LazyHTMLElement |
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
getDefaultAttributes, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
checkNormalizationAfterInsert, checkNormalizationAfterRemove, getChildNodesUnoptimized, getOwnerDocument, internalInsertBefore, internalRemoveChild, item, lastChild, lastChild, ownerDocument, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode |
parentNode, previousSibling |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, changed, changes, compareDocumentPosition, dispatchEvent, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasStringValue, hasStringValue, internalIsIgnorableWhitespace, isDefaultNamespace, isEqualNode, isFirstChild, isFirstChild, isIgnorableWhitespace, isNormalized, isNormalized, isOwned, isOwned, isReadOnly, isReadOnly, isSameNode, isSpecified, isSpecified, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, needsSyncChildren, needsSyncData, needsSyncData, removeEventListener, setPrefix, setTextContent, setUserData, setUserData, toString |
Methods inherited from class java.lang.Object |
|
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, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, compareDocumentPosition, getAttributes, getBaseURI, 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, setUserData |
Constructor Detail |
public HTMLSelectElementImpl(LazyHTMLDocument owner, LazyElement template, String name)
owner
- The owner HTML documentMethod Detail |
public String getType()
getType
in interface HTMLSelectElement
public String getValue()
getValue
in interface HTMLSelectElement
public void setValue(String value)
setValue
in interface HTMLSelectElement
public int getSelectedIndex()
getSelectedIndex
in interface HTMLSelectElement
public void setSelectedIndex(int selectedIndex)
setSelectedIndex
in interface HTMLSelectElement
public HTMLCollection getOptions()
getOptions
in interface HTMLSelectElement
public int getLength()
getLength
in interface HTMLSelectElement
getLength
in class org.enhydra.apache.xerces.dom.ParentNode
public boolean getDisabled()
getDisabled
in interface HTMLSelectElement
public void setDisabled(boolean disabled)
setDisabled
in interface HTMLSelectElement
public boolean getMultiple()
getMultiple
in interface HTMLSelectElement
public void setMultiple(boolean multiple)
setMultiple
in interface HTMLSelectElement
public String getName()
getName
in interface HTMLSelectElement
public void setName(String name)
setName
in interface HTMLSelectElement
public int getSize()
getSize
in interface HTMLSelectElement
public void setSize(int size)
setSize
in interface HTMLSelectElement
public int getTabIndex()
getTabIndex
in interface HTMLSelectElement
public void setTabIndex(int tabIndex)
setTabIndex
in interface HTMLSelectElement
public void add(HTMLElement element, HTMLElement before)
add
in interface HTMLSelectElement
public void remove(int index)
remove
in interface HTMLSelectElement
public void blur()
blur
in interface HTMLSelectElement
public void focus()
focus
in interface HTMLSelectElement
public NodeList getChildNodes()
getChildNodes
in interface Node
getChildNodes
in class LazyElementNoNS
org.enhydra.xml.lazydom.LazyElementNoNS
Node.getChildNodes()
public Node cloneNode(boolean deep)
cloneNode
in interface Node
cloneNode
in class LazyElementNoNS
org.enhydra.xml.lazydom.LazyElementNoNS
Node.cloneNode(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |