@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="HTMLOptionsCollection")
public class HTMLOptionsCollection
extends HTMLCollection
| Modifier and Type | Field and Description |
|---|---|
int |
length |
int |
selectedIndex |
| Modifier | Constructor and Description |
|---|---|
protected |
HTMLOptionsCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(HTMLOptGroupElement element) |
void |
add(HTMLOptGroupElement element,
HTMLElement before) |
void |
add(HTMLOptGroupElement element,
int before) |
void |
add(HTMLOptionElement element) |
void |
add(HTMLOptionElement element,
HTMLElement before) |
void |
add(HTMLOptionElement element,
int before) |
HTMLOptionElement |
item(int index)
The HTMLCollection method item() returns the node located at the specified offset into the collection.
|
HTMLOptionElement |
namedItem(java.lang.String name) |
void |
remove(int index) |
void |
setAt(int index,
HTMLOptionElement option) |
lengthassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic void add(@Nonnull
HTMLOptionElement element,
@Nonnull
HTMLElement before)
public void add(@Nonnull
HTMLOptGroupElement element,
@Nonnull
HTMLElement before)
public void add(@Nonnull
HTMLOptionElement element,
int before)
public void add(@Nonnull
HTMLOptGroupElement element,
int before)
public void add(@Nonnull
HTMLOptionElement element)
public void add(@Nonnull
HTMLOptGroupElement element)
public void remove(int index)
@JsOverlay
public final void setAt(int index,
@Nullable
HTMLOptionElement option)
@Nullable public HTMLOptionElement item(int index)
HTMLCollectionitem in class HTMLCollection@Nullable public HTMLOptionElement namedItem(@Nonnull java.lang.String name)
namedItem in class HTMLCollection