Interface ScrollAdjuster
- All Known Implementing Classes:
JSpinnerOperator.DateScrollAdjuster, JSpinnerOperator.ExactScrollAdjuster, JSpinnerOperator.ListScrollAdjuster, JSpinnerOperator.NumberScrollAdjuster, JSpinnerOperator.ObjectScrollAdjuster, JSpinnerOperator.ToStringScrollAdjuster
public interface ScrollAdjuster
Specifies scrolling criteria.
- Author:
- Alexandre Iline(alexandre.iline@sun.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDecrease scroll direction.static final intSpecifies that necessary value has been reached..static final intIncrease scroll direction. -
Method Summary
Modifier and TypeMethodDescriptionReturns a printable scrolling description.intReturns scroll direction to reach necessary scroller value.intReturns scrolling orientation.
-
Field Details
-
INCREASE_SCROLL_DIRECTION
static final int INCREASE_SCROLL_DIRECTIONIncrease scroll direction.- See Also:
-
DECREASE_SCROLL_DIRECTION
static final int DECREASE_SCROLL_DIRECTIONDecrease scroll direction.- See Also:
-
DO_NOT_TOUCH_SCROLL_DIRECTION
static final int DO_NOT_TOUCH_SCROLL_DIRECTIONSpecifies that necessary value has been reached..- See Also:
-
-
Method Details
-
getScrollDirection
int getScrollDirection()Returns scroll direction to reach necessary scroller value.- Returns:
- one of the values: INCREASE_SCROLL_DIRECTION, DECREASE_SCROLL_DIRECTION or DO_NOT_TOUCH_SCROLL_DIRECTION.
-
getScrollOrientation
int getScrollOrientation()Returns scrolling orientation.- Returns:
- one of the values: Adjustable.HORIZONTAL or Adjustable.VERTICAL.
-
getDescription
-