public interface MultiSelect extends Container<MultiSelect>
| Modifier and Type | Method and Description |
|---|---|
MultiSelect |
deselectAll()
Deselects all options.
|
MultiSelect |
deselectByIndex(int... indexes)
Deselects all options at the given indexes.
|
MultiSelect |
deselectByValue(String... values)
Deselects all options that have a value matching the argument.
|
MultiSelect |
deselectByVisibleText(String... texts)
Deselects all options that display text matching the argument.
|
MultiSelect |
deselectOptions(Option... options)
Deselects some options of this select if not already deselected.
|
List<Option> |
getOptions()
Gets the options of this select.
|
List<Option> |
getSelectedOptions()
Returns the selected options.
|
List<String> |
getSelectedValues()
Returns the selected values.
|
List<String> |
getSelectedVisibleTexts()
Returns the selected visible texts.
|
MultiSelect |
selectAll()
Selects all options.
|
MultiSelect |
selectByIndex(int... indexes)
Selects all options at the given indexes.
|
MultiSelect |
selectByValue(String... values)
Selects all options that have a value matching the argument.
|
MultiSelect |
selectByVisibleText(String... texts)
Selects all options that display text matching the argument.
|
MultiSelect |
selectOptions(Option... options)
Selects some options of this select if not already selected.
|
and, getAttribute, getCssValue, getId, getStyleClass, getTitle, isDisplayedfindElement, findElementsMultiSelect deselectAll()
MultiSelect deselectByIndex(int... indexes)
indexes - The option at this index will be selected.MultiSelect deselectByValue(String... values)
values - The values to match against.MultiSelect deselectByVisibleText(String... texts)
texts - The visible texts to match against.MultiSelect deselectOptions(Option... options)
options - The options to be deselected.List<Option> getOptions()
List<Option> getSelectedOptions()
List<String> getSelectedValues()
List<String> getSelectedVisibleTexts()
MultiSelect selectAll()
MultiSelect selectByIndex(int... indexes)
indexes - The option at this index will be selected.MultiSelect selectByValue(String... values)
values - The values to match against.MultiSelect selectByVisibleText(String... texts)
texts - The visible texts to match against.MultiSelect selectOptions(Option... options)
options - The options to be selected.Copyright © 2013. All Rights Reserved.