Interface SliderHandle
- All Superinterfaces:
FormComponentHandle
Handle for the "Slider" form component. The Swing widget is a
JSlider over an
integer range.
Reach this handle via ScreenHandle.slider().
-
Method Summary
Modifier and TypeMethodDescriptionassertValue(int expected) Assert that the current value equals the expected value.intThe configured maximum value.intThe configured minimum value.intgetValue()The current slider value.setValue(int value) Set the slider value.
-
Method Details
-
getValue
int getValue()The current slider value. -
getMinValue
int getMinValue()The configured minimum value. -
getMaxValue
int getMaxValue()The configured maximum value. -
setValue
Set the slider value. -
assertValue
Assert that the current value equals the expected value. -
assertEnabled
- Specified by:
assertEnabledin interfaceFormComponentHandle
-
assertDisabled
- Specified by:
assertDisabledin interfaceFormComponentHandle
-
assertVisible
- Specified by:
assertVisiblein interfaceFormComponentHandle
-
assertInvisible
- Specified by:
assertInvisiblein interfaceFormComponentHandle
-