org.lobobrowser.html.domimpl

Class HTMLOptionElementImpl

Implemented Interfaces:
Element, CSS2PropertiesContext, HTMLElement, HTMLOptionElement, Node, ModelNode, ScriptableDelegate

public class HTMLOptionElementImpl
extends HTMLElementImpl
implements HTMLOptionElement

Field Summary

Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl

attributes

Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl

document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode

Constructor Summary

HTMLOptionElementImpl(String name)

Method Summary

boolean
getDefaultSelected()
boolean
getDisabled()
HTMLFormElement
getForm()
int
getIndex()
String
getLabel()
boolean
getSelected()
String
getText()
String
getValue()
void
setDefaultSelected(boolean defaultSelected)
void
setDisabled(boolean disabled)
void
setLabel(String label)
void
setSelected(boolean selected)
void
setValue(String value)
String
toString()

Methods inherited from class org.lobobrowser.html.domimpl.HTMLElementImpl

addStyleSheetDeclarations, appendOuterHTMLImpl, assignAttributeField, createRenderState, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAncestor, getAncestorForJavaClass, getAncestorWithClass, getAncestorWithId, getAttributeAsBoolean, getAttributeAsInt, getCharset, getClassName, getComputedStyle, getCssInputSourceForDecl, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetTop, getOffsetWidth, getOuterHTML, getParentStyle, getPseudoNames, getStyle, informInvalid, informInvalidAttibute, informLayoutInvalid, setCharset, setClassName, setCurrentStyle, setInnerHTML, setMouseOver, setStyle, toString, warn, warn

Methods inherited from class org.lobobrowser.html.domimpl.ElementImpl

appendInnerTextImpl, assignAttributeField, createSimilarNode, equalAttributes, getAttribute, getAttributeNS, getAttributeNode, getAttributeNodeNS, getAttributes, getDir, getElementsByTagName, getElementsByTagNameNS, getId, getInnerText, getLang, getLocalName, getNodeName, getNodeType, getNodeValue, getRawInnerText, getSchemaTypeInfo, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, isTagName, normalizeAttributeName, removeAttribute, removeAttributeNS, removeAttributeNode, setAttribute, setAttributeImpl, setAttributeNS, setAttributeNode, setAttributeNodeNS, setDir, setId, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setInnerText, setLang, setNodeValue, setTitle, toString

Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl

appendChild, appendInnerHTMLImpl, cloneNode, compareDocumentPosition, createRenderState, createSimilarNode, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeList, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setNodeValue, setPrefix, setTextContent, setUINode, setUserData, toString, warn, warn

Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate

getScriptable, setScriptable

Constructor Details

HTMLOptionElementImpl

public HTMLOptionElementImpl(String name)

Method Details

getDefaultSelected

public boolean getDefaultSelected()
Specified by:
getDefaultSelected in interface HTMLOptionElement

getDisabled

public boolean getDisabled()
Specified by:
getDisabled in interface HTMLOptionElement

getForm

public HTMLFormElement getForm()
Specified by:
getForm in interface HTMLOptionElement

getIndex

public int getIndex()
Specified by:
getIndex in interface HTMLOptionElement

getLabel

public String getLabel()
Specified by:
getLabel in interface HTMLOptionElement

getSelected

public boolean getSelected()
Specified by:
getSelected in interface HTMLOptionElement

getText

public String getText()
Specified by:
getText in interface HTMLOptionElement

getValue

public String getValue()
Specified by:
getValue in interface HTMLOptionElement

setDefaultSelected

public void setDefaultSelected(boolean defaultSelected)
Specified by:
setDefaultSelected in interface HTMLOptionElement

setDisabled

public void setDisabled(boolean disabled)
Specified by:
setDisabled in interface HTMLOptionElement

setLabel

public void setLabel(String label)
Specified by:
setLabel in interface HTMLOptionElement

setSelected

public void setSelected(boolean selected)
Specified by:
setSelected in interface HTMLOptionElement

setValue

public void setValue(String value)
Specified by:
setValue in interface HTMLOptionElement

toString

public String toString()
Overrides:
toString in interface HTMLElementImpl