public static class JSpinnerOperator.ToStringScrollAdjuster extends JSpinnerOperator.ObjectScrollAdjuster
DECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION| Constructor and Description |
|---|
JSpinnerOperator.ToStringScrollAdjuster(JSpinnerOperator oper,
java.lang.String pattern,
int direction)
Constructs a
ToStringScrollAdjuster object. |
JSpinnerOperator.ToStringScrollAdjuster(JSpinnerOperator oper,
java.lang.String pattern,
Operator.StringComparator comparator,
int direction)
Constructs a
ToStringScrollAdjuster 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.
|
getScrollDirectionpublic JSpinnerOperator.ToStringScrollAdjuster(JSpinnerOperator oper, java.lang.String pattern, Operator.StringComparator comparator, int direction)
ToStringScrollAdjuster object.oper - an operator to work with.pattern - a pattern to compare withcomparator - specifies string comparision algorithm.direction - a scrolling direction - one of ScrollAdjuster.*_SCROLL_DIRECTION fields.public JSpinnerOperator.ToStringScrollAdjuster(JSpinnerOperator oper, java.lang.String pattern, int direction)
ToStringScrollAdjuster object.
Uses StringComparator assigned to the operator.oper - an operator to work with.pattern - a pattern to compare withdirection - a scrolling direction - one of ScrollAdjuster.*_SCROLL_DIRECTION fields.public boolean equals(java.lang.Object curvalue)
equals in class JSpinnerOperator.ObjectScrollAdjusterpublic java.lang.String getDescription()
ScrollAdjusterpublic int getScrollOrientation()
ScrollAdjustergetScrollOrientation in interface ScrollAdjustergetScrollOrientation in class JSpinnerOperator.ObjectScrollAdjuster