Class HTMLOptionsCollection
- All Implemented Interfaces:
elemental2.core.JsIterable<HTMLOptionElement>
,jsinterop.base.JsArrayLike<HTMLOptionElement>
,jsinterop.base.JsPropertyMap<HTMLOptionElement>
@JsType(isNative=true,
namespace="<global>")
public class HTMLOptionsCollection
extends HTMLCollection<HTMLOptionElement>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
add
(HTMLOptGroupElement element) final void
add
(HTMLOptGroupElement element, double before) final void
add
(HTMLOptGroupElement element, HTMLElement before) final void
add
(HTMLOptGroupElement element, HTMLOptionsCollection.AddBeforeUnionType before) final void
add
(HTMLOptionElement element) final void
add
(HTMLOptionElement element, double before) final void
add
(HTMLOptionElement element, HTMLElement before) final void
add
(HTMLOptionElement element, HTMLOptionsCollection.AddBeforeUnionType before) void
final void
add
(HTMLOptionsCollection.AddElementUnionType element, double before) final void
add
(HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) void
add
(HTMLOptionsCollection.AddElementUnionType element, HTMLOptionsCollection.AddBeforeUnionType before) item
(int index) void
remove
(double index) Methods inherited from class elemental2.dom.HTMLCollection
namedItem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jsinterop.base.JsArrayLike
asList, delete, getAt, getAtAsAny, getLength, setAt, setLength
Methods inherited from interface jsinterop.base.JsPropertyMap
delete, forEach, get, getAsAny, has, nestedGet, nestedGetAsAny, set
-
Field Details
-
length
public int length
-
-
Constructor Details
-
HTMLOptionsCollection
public HTMLOptionsCollection()
-
-
Method Details
-
add
public void add(HTMLOptionsCollection.AddElementUnionType element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
@JsOverlay public final void add(HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) -
add
-
add
-
add
@JsOverlay public final void add(HTMLOptGroupElement element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
add
@JsOverlay public final void add(HTMLOptionElement element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
item
- Overrides:
item
in classHTMLCollection<HTMLOptionElement>
-
remove
public void remove(double index)
-