Top Constructors Methods
com.sun.webkit.dom

public Class HTMLOptionElementImpl

extends HTMLElementImpl
implements HTMLOptionElement
Class Inheritance
All Implemented Interfaces
org.w3c.dom.html.HTMLOptionElement, org.w3c.dom.html.HTMLElement, org.w3c.dom.Element, org.w3c.dom.Node
Imports
org.w3c.dom.html.HTMLFormElement, .HTMLOptionElement

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
getDefaultSelected()

Implements org.w3c.dom.html.HTMLOptionElement.getDefaultSelected.

Represents the value of the HTML selected attribute.

pack-priv static native boolean
public boolean
getDisabled()

Implements org.w3c.dom.html.HTMLOptionElement.getDisabled.

The control is unavailable in this context.

pack-priv static native boolean
getDisabledImpl(long peer)

public HTMLFormElement
getForm()

Implements org.w3c.dom.html.HTMLOptionElement.getForm.

Returns the FORM element containing this control.

pack-priv static native long
getFormImpl(long peer)

pack-priv static HTMLOptionElement
public int
getIndex()

Implements org.w3c.dom.html.HTMLOptionElement.getIndex.

The index of this OPTION in its parent SELECT , starting from 0.

pack-priv static native int
getIndexImpl(long peer)

public String
getLabel()

Implements org.w3c.dom.html.HTMLOptionElement.getLabel.

Option label for use in hierarchical menus.

pack-priv static native String
getLabelImpl(long peer)

public boolean
getSelected()

Implements org.w3c.dom.html.HTMLOptionElement.getSelected.

Represents the current state of the corresponding form control, in an interactive user agent.

pack-priv static native boolean
getSelectedImpl(long peer)

public String
getText()

Implements org.w3c.dom.html.HTMLOptionElement.getText.

The text contained within the option element.

pack-priv static native String
getTextImpl(long peer)

public String
getValue()

Implements org.w3c.dom.html.HTMLOptionElement.getValue.

The current form control value.

pack-priv static native String
getValueImpl(long peer)

public void
pack-priv static native void
setDefaultSelectedImpl(long peer, boolean value)

public void
pack-priv static native void
setDisabledImpl(long peer, boolean value)

public void
pack-priv static native void
setLabelImpl(long peer, String value)

public void
pack-priv static native void
setSelectedImpl(long peer, boolean value)

public void
pack-priv static native void
setValueImpl(long peer, String value)

Inherited from com.sun.webkit.dom.HTMLElementImpl:
clickclickImplgetAccessKeygetAccessKeyImplgetChildrengetChildrenImplgetContentEditablegetContentEditableImplgetDirgetDirImplgetDraggablegetDraggableImplgetHiddengetHiddenImplgetIdgetIdImplgetInnerTextgetInnerTextImplgetIsContentEditablegetIsContentEditableImplgetLanggetLangImplgetOuterTextgetOuterTextImplgetSpellcheckgetSpellcheckImplgetTabIndexgetTabIndexImplgetTitlegetTitleDisplayStringgetTitleDisplayStringImplgetTitleImplgetTranslategetTranslateImplgetWebkitdropzonegetWebkitdropzoneImplinsertAdjacentElementinsertAdjacentElementImplinsertAdjacentHTMLinsertAdjacentHTMLImplinsertAdjacentTextinsertAdjacentTextImplsetAccessKeysetAccessKeyImplsetContentEditablesetContentEditableImplsetDirsetDirImplsetDraggablesetDraggableImplsetHiddensetHiddenImplsetIdsetIdImplsetInnerTextsetInnerTextImplsetLangsetLangImplsetOuterTextsetOuterTextImplsetSpellchecksetSpellcheckImplsetTabIndexsetTabIndexImplsetTitlesetTitleImplsetTranslatesetTranslateImplsetWebkitdropzonesetWebkitdropzoneImpl

Constructor Detail

HTMLOptionElementImplback to summary
pack-priv HTMLOptionElementImpl(long peer)

Method Detail

getDefaultSelectedback to summary
public boolean getDefaultSelected()

Implements org.w3c.dom.html.HTMLOptionElement.getDefaultSelected.

Doc from org.w3c.dom.html.HTMLOptionElement.getDefaultSelected.

Represents the value of the HTML selected attribute. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes. Changing defaultSelected , however, resets the state of the form control. See the selected attribute definition in HTML 4.0.

getDefaultSelectedImplback to summary
pack-priv static native boolean getDefaultSelectedImpl(long peer)
getDisabledback to summary
public boolean getDisabled()

Implements org.w3c.dom.html.HTMLOptionElement.getDisabled.

Doc from org.w3c.dom.html.HTMLOptionElement.getDisabled.

The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

getDisabledImplback to summary
pack-priv static native boolean getDisabledImpl(long peer)
getFormback to summary
public HTMLFormElement getForm()

Implements org.w3c.dom.html.HTMLOptionElement.getForm.

Doc from org.w3c.dom.html.HTMLOptionElement.getForm.

Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

getFormImplback to summary
pack-priv static native long getFormImpl(long peer)
getImplback to summary
pack-priv static HTMLOptionElement getImpl(long peer)

Hides com.sun.webkit.dom.HTMLElementImpl.getImpl.

getIndexback to summary
public int getIndex()

Implements org.w3c.dom.html.HTMLOptionElement.getIndex.

Doc from org.w3c.dom.html.HTMLOptionElement.getIndex.

The index of this OPTION in its parent SELECT , starting from 0.

getIndexImplback to summary
pack-priv static native int getIndexImpl(long peer)
getLabelback to summary
public String getLabel()

Implements org.w3c.dom.html.HTMLOptionElement.getLabel.

Doc from org.w3c.dom.html.HTMLOptionElement.getLabel.

Option label for use in hierarchical menus. See the label attribute definition in HTML 4.0.

getLabelImplback to summary
pack-priv static native String getLabelImpl(long peer)
getSelectedback to summary
public boolean getSelected()

Implements org.w3c.dom.html.HTMLOptionElement.getSelected.

Doc from org.w3c.dom.html.HTMLOptionElement.getSelected.

Represents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element.

getSelectedImplback to summary
pack-priv static native boolean getSelectedImpl(long peer)
getTextback to summary
public String getText()

Implements org.w3c.dom.html.HTMLOptionElement.getText.

Doc from org.w3c.dom.html.HTMLOptionElement.getText.

The text contained within the option element.

getTextImplback to summary
pack-priv static native String getTextImpl(long peer)
getValueback to summary
public String getValue()

Implements org.w3c.dom.html.HTMLOptionElement.getValue.

Doc from org.w3c.dom.html.HTMLOptionElement.getValue.

The current form control value. See the value attribute definition in HTML 4.0.

getValueImplback to summary
pack-priv static native String getValueImpl(long peer)
setDefaultSelectedback to summary
public void setDefaultSelected(boolean value)

Implements org.w3c.dom.html.HTMLOptionElement.setDefaultSelected.

setDefaultSelectedImplback to summary
pack-priv static native void setDefaultSelectedImpl(long peer, boolean value)
setDisabledback to summary
public void setDisabled(boolean value)

Implements org.w3c.dom.html.HTMLOptionElement.setDisabled.

setDisabledImplback to summary
pack-priv static native void setDisabledImpl(long peer, boolean value)
setLabelback to summary
public void setLabel(String value)

Implements org.w3c.dom.html.HTMLOptionElement.setLabel.

setLabelImplback to summary
pack-priv static native void setLabelImpl(long peer, String value)
setSelectedback to summary
public void setSelected(boolean value)

Implements org.w3c.dom.html.HTMLOptionElement.setSelected.

setSelectedImplback to summary
pack-priv static native void setSelectedImpl(long peer, boolean value)
setValueback to summary
public void setValue(String value)

Implements org.w3c.dom.html.HTMLOptionElement.setValue.

setValueImplback to summary
pack-priv static native void setValueImpl(long peer, String value)