org.netbeans.jemmy.operators
public static class JSpinnerOperator.NumberScrollAdjuster extends Object implements ScrollAdjuster
ScrollAdjuster
to be used for JSpinner
component having SpinnerNumberModel
model.DECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION
Constructor and Description |
---|
JSpinnerOperator.NumberScrollAdjuster(JSpinnerOperator oper,
double value)
Constructs a
NumberScrollAdjuster object. |
JSpinnerOperator.NumberScrollAdjuster(JSpinnerOperator oper,
Number value)
Constructs a
NumberScrollAdjuster object. |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a printable scrolling description.
|
int |
getScrollDirection()
Returns scroll direction to reach necessary scroller value.
|
int |
getScrollOrientation()
Returns scrolling orientation.
|
public JSpinnerOperator.NumberScrollAdjuster(JSpinnerOperator oper, double value)
NumberScrollAdjuster
object.oper
- an operator to work with.value
- a value to scroll to.public JSpinnerOperator.NumberScrollAdjuster(JSpinnerOperator oper, Number value)
NumberScrollAdjuster
object.oper
- an operator to work with.value
- a value to scroll to.public int getScrollDirection()
ScrollAdjuster
getScrollDirection
in interface ScrollAdjuster
public int getScrollOrientation()
ScrollAdjuster
getScrollOrientation
in interface ScrollAdjuster
public String getDescription()
ScrollAdjuster
getDescription
in interface ScrollAdjuster