public abstract static class JSpinnerOperator.ObjectScrollAdjuster extends java.lang.Object implements ScrollAdjuster
equals(Object)
value
to specify a criteria of successful scrolling.DECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION
Constructor and Description |
---|
JSpinnerOperator.ObjectScrollAdjuster(JSpinnerOperator oper,
int direction)
Constructs a
ObjectScrollAdjuster object. |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
equals(java.lang.Object curvalue) |
int |
getScrollDirection()
Returns scroll direction to reach necessary scroller value.
|
int |
getScrollOrientation()
Returns scrolling orientation.
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription
public JSpinnerOperator.ObjectScrollAdjuster(JSpinnerOperator oper, int direction)
ObjectScrollAdjuster
object.oper
- an operator to work with.direction
- a scrolling direction - one of ScrollAdjuster.*_SCROLL_DIRECTION
fields.public int getScrollDirection()
ScrollAdjuster
getScrollDirection
in interface ScrollAdjuster
public abstract boolean equals(java.lang.Object curvalue)
equals
in class java.lang.Object
public int getScrollOrientation()
ScrollAdjuster
getScrollOrientation
in interface ScrollAdjuster