Package de.bmiag.tapir.htmlbasic.api
Interface CheckboxGroup
-
- All Superinterfaces:
Displayable
,ElementCollection<Checkbox>
,MultiSelectable<Checkbox>
,TapirElement
- All Known Implementing Classes:
DefaultSeleniumCheckboxGroup
public interface CheckboxGroup extends TapirElement, MultiSelectable<Checkbox>, Displayable
Defines a checkbox group which contains a set ofCheckbox
s.- 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<Checkbox>
findElementsByLabel(java.lang.String label)
Returns all elements which have the given label.Checkbox
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<Checkbox> 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
Checkbox 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
-
-