public class HTMLOptionsCollectionImpl extends HTMLCollectionImpl
Modifier and Type | Method and Description |
---|---|
void |
add(org.w3c.dom.html.HTMLOptionElement option,
int index) |
int |
getLength() |
int |
getSelectedIndex() |
Node |
item(int index) |
Node |
namedItem(String name) |
void |
setLength(int value) |
void |
setSelectedIndex(int value) |
equals, hashCode
public int getSelectedIndex()
public void setSelectedIndex(int value)
public int getLength()
getLength
in interface org.w3c.dom.html.HTMLCollection
getLength
in class HTMLCollectionImpl
public void setLength(int value) throws DOMException
DOMException
public Node namedItem(String name)
namedItem
in interface org.w3c.dom.html.HTMLCollection
namedItem
in class HTMLCollectionImpl
public void add(org.w3c.dom.html.HTMLOptionElement option, int index) throws DOMException
DOMException
public Node item(int index)
item
in interface org.w3c.dom.html.HTMLCollection
item
in class HTMLCollectionImpl
Copyright © 2020. All rights reserved.