Package io.jmix.masquerade.component
Class DatePicker
java.lang.Object
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<DatePicker>
Web-element wrapper for date picker. Supports setting value and
DateValue condition checking.-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.codeborne.selenide.CheckResultcheck(SpecificCondition condition) Checks whether the current handler matches the passedSpecificCondition.Sets the value to the date picker input field.Methods inherited from class io.jmix.masquerade.component.AbstractField
getInputDelegate, 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
-
DatePicker
public DatePicker(org.openqa.selenium.By by)
-
-
Method Details
-
check
Description copied from interface:SpecificConditionHandlerChecks whether the current handler matches the passedSpecificCondition.- Specified by:
checkin interfaceSpecificConditionHandler- Overrides:
checkin classAbstractField<DatePicker>- Parameters:
condition- condition to check- Returns:
CheckResultthat containsCheckResult.Verdict.ACCEPTif the current handler matches the passedSpecificCondition,CheckResult.Verdict.REJECTotherwise
-
setValue
Sets the value to the date picker input field.- Parameters:
value- date value as a string presentation value- Returns:
thisto call fluent API
-