public interface AQFormSelector
Modifier and Type | Method and Description |
---|---|
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.
|
void setMultiple(boolean multiple)
multiple
- if it is multiple selectvoid setSize(int size)
size
- the sizevoid 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
- if it is selectedboolean isSelectedAt(int index)
index
- Index value.void setSelectedIndex(int index)
index
- Index value.
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.