Package com.teamdev.jxbrowser.dom
Interface OptionElement
- All Superinterfaces:
Element
,EventTarget
,Node
,SearchContext
An HTML DOM option element.
Provides access to the attributes of the option element.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.dom.Element
Element.AlignTo
-
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.dom.Element
attributeNodes, attributes, attributeValue, blur, boundingClientRect, focus, hasAttribute, innerHtml, innerHtml, innerText, innerText, outerHtml, outerHtml, putAttribute, removeAttribute, scrollIntoView
Methods inherited from interface com.teamdev.jxbrowser.dom.event.EventTarget
addEventListener, dispatch, eventListeners, removeEventListener
Methods inherited from interface com.teamdev.jxbrowser.dom.Node
appendChild, children, click, close, compareDocumentPosition, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPath
Methods inherited from interface com.teamdev.jxbrowser.dom.SearchContext
findElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagName
-
Method Details
-
isSelected
boolean isSelected()Returnstrue
if the current option element is selected.- Throws:
ObjectClosedException
- when this instance is closed
-
select
void select()Selects the current option element.- Throws:
ObjectClosedException
- when this instance is closed
-
unselect
void unselect()Un-selects the current option element.- Throws:
ObjectClosedException
- when this instance is closed
-