Package de.bmiag.tapir.htmlbasic.api
Interface MultiSelect
-
- All Superinterfaces:
Displayable
,ElementCollection<MultiSelectOption>
,Enabable
,MultiSelectable<MultiSelectOption>
,TapirElement
- All Known Implementing Classes:
DefaultSeleniumMultiSelect
public interface MultiSelect extends TapirElement, Displayable, Enabable, MultiSelectable<MultiSelectOption>
Marks an element as a multi select. This field is used for list boxes and other elements which have a list of possible values and multiple values can be selected.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<MultiSelectOption>
findElementsByLabel(java.lang.String label)
Returns all elements which have the given label.MultiSelectOption
findFirstElementByLabel(java.lang.String label)
Returns the first element which has the given label-
Methods inherited from interface de.bmiag.tapir.ui.api.Displayable
isDisplayed
-
Methods inherited from interface de.bmiag.tapir.ui.api.ElementCollection
findElements, findFirstElement, getElements
-
Methods inherited from interface de.bmiag.tapir.ui.api.MultiSelectable
getSelectedElements
-
-
-
-
Method Detail
-
findElementsByLabel
java.util.List<MultiSelectOption> findElementsByLabel(java.lang.String label)
Returns all elements which have the given label.- Parameters:
label
- the label for finding the elements- Returns:
- all elements which have the given label.
- Since:
- 3.0.0
-
findFirstElementByLabel
MultiSelectOption findFirstElementByLabel(java.lang.String label)
Returns the first element which has the given label- Parameters:
label
- the label for selecting the element- Returns:
- all elements which have the given label, cannot be null
- Throws:
java.util.NoSuchElementException
- thrown if no element has the given label- Since:
- 3.0.0
-
-