public class MultiSelectImpl extends BasicContainer<MultiSelect> implements MultiSelect
| Constructor and Description |
|---|
MultiSelectImpl() |
| 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.
|
findElement, findElementsand, getAttribute, getCssValue, getId, getStyleClass, getTitle, isDisplayedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, getAttribute, getCssValue, getId, getStyleClass, getTitle, isDisplayedfindElement, findElementspublic MultiSelect deselectAll()
MultiSelectdeselectAll in interface MultiSelectpublic MultiSelect deselectByIndex(int... indexes)
MultiSelectdeselectByIndex in interface MultiSelectindexes - The option at this index will be selected.public MultiSelect deselectByValue(String... values)
MultiSelectdeselectByValue in interface MultiSelectvalues - The values to match against.public MultiSelect deselectByVisibleText(String... texts)
MultiSelectdeselectByVisibleText in interface MultiSelecttexts - The visible texts to match against.public MultiSelect deselectOptions(Option... options)
MultiSelectdeselectOptions in interface MultiSelectoptions - The options to be deselected.public List<Option> getOptions()
MultiSelectgetOptions in interface MultiSelectpublic List<Option> getSelectedOptions()
MultiSelectgetSelectedOptions in interface MultiSelectpublic List<String> getSelectedValues()
MultiSelectgetSelectedValues in interface MultiSelectpublic List<String> getSelectedVisibleTexts()
MultiSelectgetSelectedVisibleTexts in interface MultiSelectpublic MultiSelect selectAll()
MultiSelectselectAll in interface MultiSelectpublic MultiSelect selectByIndex(int... indexes)
MultiSelectselectByIndex in interface MultiSelectindexes - The option at this index will be selected.public MultiSelect selectByValue(String... values)
MultiSelectselectByValue in interface MultiSelectvalues - The values to match against.public MultiSelect selectByVisibleText(String... texts)
MultiSelectselectByVisibleText in interface MultiSelecttexts - The visible texts to match against.public MultiSelect selectOptions(Option... options)
MultiSelectselectOptions in interface MultiSelectoptions - The options to be selected.Copyright © 2013. All Rights Reserved.