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.SelenideElementprotected booleansetChecked(boolean checked) Set the checked or unchecked state of a web-element.Methods inherited from class io.jmix.masquerade.component.AbstractCheckbox
check, getLabelDelegateMethods inherited from class io.jmix.masquerade.component.AbstractComponent
getBy, getDelegateMethods inherited from class io.jmix.masquerade.component.AbstractSpecificConditionHandler
should, should, shouldBe, shouldBe, shouldHave, shouldHave, shouldNot, shouldNot, shouldNotBe, shouldNotBe, shouldNotHave, shouldNotHaveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
thisto call fluent API
-
isChecked
protected boolean isChecked() -
getInputDelegate
protected com.codeborne.selenide.SelenideElement getInputDelegate()
-