public interface DOMHTMLSelect extends DOMElement
DOMNode.Type| Modifier and Type | Method and Description |
|---|---|
boolean |
getDisabled() |
long |
getLength() |
boolean |
getMultiple() |
String |
getName() |
DOMHTMLOptionsCollection |
getOptions() |
int |
getSelectedIndex() |
int |
getSize() |
int |
getTabIndex() |
String |
getType() |
String |
getValue() |
void |
selectAllOptions() |
DOMWindow |
selectByClick(int index)
Simulates a real selection event (click on the select and clik on the option).
|
DOMWindow |
selectByClick(String optiontext)
Simulates a real selection event (click on the select and clik on the option).
|
DOMWindow |
selectOptionByText(String text) |
DOMWindow |
selectOptionIndex(int aSelectedIndex) |
void |
setName(String aName) |
void |
setSelectedByText(String optiontext)
Deprecated.
|
void |
setSelectedIndex(int aSelectedIndex)
Deprecated.
|
void |
setSize(int aSize) |
void |
setTabIndex(int aTabIndex) |
void |
setValue(String aValue) |
click, click, fireFocusEvent, fireKeyboardEvent, fireMouseEvent, focus, getAttribute, getBoundingClientRect, getComputedStyle, getInnerHTML, getNeighbourhood, getOuterHTML, htmlUtil, isEnabled, js, keypress, mouseover, moveToFrame, moveToHREF, observeCSSProperties, removeAttribute, sendClick, setAttribute, type, typeAndEnterappendChild, compareDocumentPosition, executeJavaScript, getAttributes, getBrowser, getChildNodes, getDOMProperty, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getXPathEvaluator, getXPathLocator, insertBefore, isDescendant, isEqualNode, isSameNode, isStale, isTextNode, isVisible, registerMutationObserver, registerMutationObserver, removeChild, replaceChild, setTextContent, toPrettyHTML, toPrettyStringaddEventListener, removeEventListenerquerySelector, querySelectorAllDOMWindow selectByClick(int index)
index - the index positionDOMWindow selectByClick(String optiontext)
index - the option displayed textString getType()
int getSelectedIndex()
@Deprecated void setSelectedByText(String optiontext)
selectOptionByText(String)optiontext - @Deprecated void setSelectedIndex(int aSelectedIndex)
selectOptionIndex(int)aSelectedIndex - String getValue()
void setValue(String aValue)
long getLength()
DOMHTMLOptionsCollection getOptions()
boolean getDisabled()
boolean getMultiple()
String getName()
void setName(String aName)
int getSize()
void setSize(int aSize)
int getTabIndex()
void setTabIndex(int aTabIndex)
void selectAllOptions()
DOMWindow selectOptionIndex(int aSelectedIndex)
Copyright © 2020 OXPath Team. All rights reserved.