Package io.jmix.masquerade.component
Class AbstractSlider<T extends AbstractSlider<T>>
java.lang.Object
io.jmix.masquerade.component.AbstractSpecificConditionHandler<T>
io.jmix.masquerade.component.AbstractComponent<T>
io.jmix.masquerade.component.AbstractField<T>
io.jmix.masquerade.component.AbstractSlider<T>
- Type Parameters:
T- inheritor class type
- All Implemented Interfaces:
SpecificConditionHandler,ByLocator,SelenideElementWrapper<T>
- Direct Known Subclasses:
RangeSlider,Slider
Abstract class for slider web-element wrappers. Supports setting value.
A slider is rendered as a native range input, which ignores the typed text, so the value is set by JavaScript.
The disabled and readonly states are kept on the slider web-element itself instead of its input,
hence they are checked on the wrapped web-element.
-
Field Summary
Fields inherited from class io.jmix.masquerade.component.AbstractComponent
by, wrappedElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetValueInternal(com.codeborne.selenide.SelenideElement input, String value) Sets the value to the passed input web-element of the slider.Methods inherited from class io.jmix.masquerade.component.AbstractField
getInputDelegate, getLabelDelegate, resolveMethods 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
-
AbstractSlider
protected AbstractSlider(org.openqa.selenium.By by)
-
-
Method Details
-
setValueInternal
Sets the value to the passed input web-element of the slider.- Parameters:
input- input web-element of the slidervalue- value as a string presentation value
-