public static class JSpinnerOperator.ExactScrollAdjuster extends JSpinnerOperator.ObjectScrollAdjuster
DECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION
Constructor and Description |
---|
JSpinnerOperator.ExactScrollAdjuster(JSpinnerOperator oper,
Object obj,
int direction)
Constructs a
ExactScrollAdjuster object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object curvalue) |
String |
getDescription()
Returns a printable scrolling description.
|
int |
getScrollOrientation()
Returns scrolling orientation.
|
getScrollDirection
public JSpinnerOperator.ExactScrollAdjuster(JSpinnerOperator oper, Object obj, int direction)
ExactScrollAdjuster
object.oper
- an operator to work with.direction
- a scrolling direction - one of ScrollAdjuster.*_SCROLL_DIRECTION
fields.public boolean equals(Object curvalue)
equals
in class JSpinnerOperator.ObjectScrollAdjuster
public String getDescription()
ScrollAdjuster
public int getScrollOrientation()
ScrollAdjuster
getScrollOrientation
in interface ScrollAdjuster
getScrollOrientation
in class JSpinnerOperator.ObjectScrollAdjuster