Package elemental2.dom
Class HTMLSelectElement
- java.lang.Object
-
- elemental2.dom.Node
-
- elemental2.dom.Element
-
- elemental2.dom.HTMLElement
-
- elemental2.dom.HTMLSelectElement
-
- All Implemented Interfaces:
EventTarget
@JsType(isNative=true, namespace="<global>") public class HTMLSelectElement extends HTMLElement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class elemental2.dom.HTMLElement
HTMLElement.AttachedCallbackFn, HTMLElement.ConnectedCallbackFn, HTMLElement.CreatedCallbackFn, HTMLElement.DetachedCallbackFn, HTMLElement.DisconnectedCallbackFn
-
Nested classes/interfaces inherited from class elemental2.dom.Element
Element.AfterNodesUnionType, Element.AppendNodesUnionType, Element.BeforeNodesUnionType, Element.FocusOptionsType, Element.MatchesSelectorRefNodesUnionType, Element.OnabortFn, Element.OnbeforeinputFn, Element.OnbeforeunloadFn, Element.OnblurFn, Element.OnchangeFn, Element.OnclickFn, Element.OncompositionendFn, Element.OncompositionstartFn, Element.OncompositionupdateFn, Element.OncontextmenuFn, Element.OncopyFn, Element.OncutFn, Element.OndblclickFn, Element.OnerrorFn, Element.OnfocusFn, Element.OnfocusinFn, Element.OnfocusoutFn, Element.OninputFn, Element.OnkeydownFn, Element.OnkeypressFn, Element.OnkeyupFn, Element.OnloadFn, Element.OnmousedownFn, Element.OnmousemoveFn, Element.OnmouseoutFn, Element.OnmouseoverFn, Element.OnmouseupFn, Element.OnmousewheelFn, Element.OnpasteFn, Element.OnresetFn, Element.OnresizeFn, Element.OnscrollFn, Element.OnselectFn, Element.OnselectionchangeFn, Element.OnselectstartFn, Element.OnsubmitFn, Element.OntextinputFn, Element.OntouchcancelFn, Element.OntouchendFn, Element.OntouchmoveFn, Element.OntouchstartFn, Element.OnunloadFn, Element.OnwheelFn, Element.PrependNodesUnionType, Element.ReplaceChildrenNodesUnionType, Element.ReplaceWithNodesUnionType, Element.ScrollIntoViewTopUnionType, Element.ScrollToScrollToOptionsOrXUnionType, Element.SetAttributeNSValueUnionType, Element.SetAttributeValueUnionType
-
Nested classes/interfaces inherited from interface elemental2.dom.EventTarget
EventTarget.AddEventListenerListenerFn, EventTarget.AddEventListenerOptionsUnionType, EventTarget.RemoveEventListenerListenerFn, EventTarget.RemoveEventListenerOptionsUnionType
-
-
Field Summary
Fields Modifier and Type Field Description boolean
autofocus
boolean
disabled
HTMLFormElement
form
NodeList<HTMLLabelElement>
labels
int
length
boolean
multiple
java.lang.String
name
HTMLOptionsCollection
options
boolean
required
int
selectedIndex
HTMLCollection<HTMLOptionElement>
selectedOptions
int
size
java.lang.String
type
java.lang.String
validationMessage
ValidityState
validity
java.lang.String
value
boolean
willValidate
-
Fields inherited from class elemental2.dom.HTMLElement
attachedCallback, className, connectedCallback, contextMenu, createdCallback, dataset, detachedCallback, dir, disconnectedCallback, draggable, dropzone, hidden, inert, lang, nonce, observedAttributes, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, shadowRoot, spellcheck, style, tabIndex, title
-
Fields inherited from class elemental2.dom.Element
ALLOW_KEYBOARD_INPUT, attributes, childElementCount, classList, clientHeight, clientLeft, clientTop, clientWidth, firstElementChild, id, innerHTML, lastElementChild, nextElementSibling, onabort, onbeforeinput, onbeforeunload, onblur, onchange, onclick, oncompositionend, oncompositionstart, oncompositionupdate, oncontextmenu, oncopy, oncut, ondblclick, onerror, onfocus, onfocusin, onfocusout, oninput, onkeydown, onkeypress, onkeyup, onload, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpaste, onreset, onresize, onscroll, onselect, onselectionchange, onselectstart, onsubmit, ontextinput, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onunload, onwheel, outerHTML, previousElementSibling, scrollHeight, scrollLeft, scrollTop, scrollWidth, slot, tagName
-
Fields inherited from class elemental2.dom.Node
assignedSlot, ATTRIBUTE_NODE, baseURI, CDATA_SECTION_NODE, childNodes, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, firstChild, isConnected, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent
-
-
Constructor Summary
Constructors Constructor Description HTMLSelectElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(HTMLElement element)
void
add(HTMLElement element, HTMLElement before)
void
blur()
boolean
checkValidity()
void
focus()
void
remove()
void
remove(int index)
boolean
reportValidity()
void
setCustomValidity(java.lang.String message)
-
Methods inherited from class elemental2.dom.HTMLElement
adoptedCallback, attachShadow, attributeChangedCallback, click, createShadowRoot, getDestinationInsertionPoints, webkitCreateShadowRoot
-
Methods inherited from class elemental2.dom.Element
after, after, after, append, append, append, before, before, before, closest, focus, getAttribute, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, insertAdjacentElement, insertAdjacentText, matches, matchesSelector, matchesSelector, matchesSelector, matchesSelector, mozMatchesSelector, mozRequestFullScreen, mozRequestFullScreenWithKeys, msMatchesSelector, msRequestFullscreen, oMatchesSelector, prepend, prepend, prepend, querySelector, querySelectorAll, removeAttribute, removeAttributeNode, removeAttributeNS, replaceChildren, replaceChildren, replaceChildren, replaceWith, replaceWith, replaceWith, requestFullscreen, requestFullscreen, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, scrollTo, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNS, setAttributeNS, setAttributeNS, toggleAttribute, toggleAttribute, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullscreen, webkitRequestFullScreen, webkitRequestFullScreen
-
Methods inherited from class elemental2.dom.Node
addEventListener, addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getFeature, getRootNode, getRootNode, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, removeEventListener, replaceChild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elemental2.dom.EventTarget
addEventListener, addEventListener, removeEventListener, removeEventListener
-
-
-
-
Field Detail
-
autofocus
public boolean autofocus
-
disabled
public boolean disabled
-
form
public HTMLFormElement form
-
labels
public NodeList<HTMLLabelElement> labels
-
length
public int length
-
multiple
public boolean multiple
-
name
public java.lang.String name
-
options
public HTMLOptionsCollection options
-
required
public boolean required
-
selectedIndex
public int selectedIndex
-
selectedOptions
public HTMLCollection<HTMLOptionElement> selectedOptions
-
size
public int size
-
type
public java.lang.String type
-
validationMessage
public java.lang.String validationMessage
-
validity
public ValidityState validity
-
value
public java.lang.String value
-
willValidate
public boolean willValidate
-
-
Method Detail
-
add
public void add(HTMLElement element, HTMLElement before)
-
add
public void add(HTMLElement element)
-
checkValidity
public boolean checkValidity()
-
remove
public void remove(int index)
-
reportValidity
public boolean reportValidity()
-
setCustomValidity
public void setCustomValidity(java.lang.String message)
-
-