public static class JSpinnerOperator.ExactScrollAdjuster extends JSpinnerOperator.ObjectScrollAdjuster
DECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION
Constructor and Description |
---|
ExactScrollAdjuster(JSpinnerOperator oper,
java.lang.Object obj,
int direction)
Constructs a
ExactScrollAdjuster object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object curvalue) |
java.lang.String |
getDescription()
Returns a printable scrolling description.
|
int |
getScrollOrientation()
Returns scrolling orientation.
|
getScrollDirection
public ExactScrollAdjuster(JSpinnerOperator oper, java.lang.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(java.lang.Object curvalue)
equals
in class JSpinnerOperator.ObjectScrollAdjuster
public java.lang.String getDescription()
ScrollAdjuster
public int getScrollOrientation()
ScrollAdjuster
getScrollOrientation
in interface ScrollAdjuster
getScrollOrientation
in class JSpinnerOperator.ObjectScrollAdjuster