|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQFormSelector
This interface corresponds to the HTML <SELECT> element.
Method Summary | |
---|---|
void |
addOption(String value,
String text)
Adds an option with the specified value and text. |
void |
addOption(String value,
String text,
boolean isSelected)
Adds a selected option with the specified value and text. |
int |
getOptionCount()
Returns the number of items in this selector. |
boolean |
isSelectedAt(int index)
Returns true if an option with the specified index is selected. |
void |
setMultiple(boolean multiple)
Sets MULTIPLE option. |
void |
setSelectedAt(int index,
boolean selected)
Sets selection status of an option at the specified index. |
void |
setSelectedIndex(int index)
Sets (overwrites) currently selected index. |
void |
setSize(int size)
Sets SIZE attribute value. |
Method Detail |
---|
void setMultiple(boolean multiple)
multiple
- void setSize(int size)
size
- void addOption(String value, String text)
value
- Selector value.text
- Visible text.void addOption(String value, String text, boolean isSelected)
value
- Selector value.text
- Visible text.isSelected
- Specifies whether this element is selected.int getOptionCount()
void setSelectedAt(int index, boolean selected)
index
- Option index.selected
- boolean isSelectedAt(int index)
index
- Index value.void setSelectedIndex(int index)
index
- Index value.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |