public static class JSpinnerOperator.DateScrollAdjuster extends java.lang.Object implements ScrollAdjuster
ScrollAdjuster to be used for JSpinner
component having SpinnerDateModel model.JSpinnerOperator.DateSpinnerOperatorDECREASE_SCROLL_DIRECTION, DO_NOT_TOUCH_SCROLL_DIRECTION, INCREASE_SCROLL_DIRECTION| Constructor and Description |
|---|
JSpinnerOperator.DateScrollAdjuster(JSpinnerOperator oper,
java.util.Date date)
Constructs a
DateScrollAdjuster object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns a printable scrolling description.
|
int |
getScrollDirection()
Returns scroll direction to reach necessary scroller value.
|
int |
getScrollOrientation()
Returns scrolling orientation.
|
public JSpinnerOperator.DateScrollAdjuster(JSpinnerOperator oper, java.util.Date date)
DateScrollAdjuster object.oper - an operator to work with.date - a date to scroll to.public int getScrollDirection()
ScrollAdjustergetScrollDirection in interface ScrollAdjusterpublic int getScrollOrientation()
ScrollAdjustergetScrollOrientation in interface ScrollAdjusterpublic java.lang.String getDescription()
ScrollAdjustergetDescription in interface ScrollAdjuster