Class CheckBox
- java.lang.Object
-
- com.github.loyada.jdollarx.highlevelapi.CheckBox
-
public class CheckBox extends Object
High-level wrapper to define and interact with a checkbox input. High level API's are not optimized. A definition of an element may interact with the browser to understand the structure of the DOM.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck()Check itbooleanisChecked()Is it checked?StringtoString()voiduncheck()Unchecked it
-
-
-
Constructor Detail
-
CheckBox
public CheckBox(InBrowser browser, String labelText)
input of type "checkbox" with a label- Parameters:
labelText- - the text in the label
-
CheckBox
public CheckBox(InBrowser browser, ElementProperty... props)
input of type "checkbox" with the given properties- Parameters:
props- - properties of the checkbox
-
-