Package io.jmix.masquerade.component
Class Checkbox
java.lang.Object
- All Implemented Interfaces:
SpecificConditionHandler
,ByLocator
,SelenideElementWrapper<Checkbox>
Web-element wrapper for checkbox. Supports changing check state.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElement
protected boolean
setChecked
(boolean checked) Set the checked or unchecked state of a web-element.Methods inherited from class io.jmix.masquerade.component.AbstractCheckbox
check, getLabelDelegate
Methods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegate
Methods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHave
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.masquerade.sys.SelenideElementWrapper
disabled, displayed, enabled, exists, shouldHaveAttribute, shouldHaveAttributeValue, shouldHaveCss, shouldHaveCssValue, shouldNotHaveAttribute, shouldNotHaveAttributeValue, shouldNotHaveCss, shouldNotHaveCssValue
-
Constructor Details
-
Checkbox
public Checkbox(org.openqa.selenium.By by)
-
-
Method Details
-
setChecked
Set the checked or unchecked state of a web-element.- Parameters:
checked
- whether to set the checked state for the web-element- Returns:
this
to call fluent API
-
isChecked
protected boolean isChecked() -
getInputDelegate
protected com.codeborne.selenide.SelenideElement getInputDelegate()
-