Class JSpinnerOperator.ObjectScrollAdjuster

    • Constructor Detail

      • ObjectScrollAdjuster

        public ObjectScrollAdjuster​(JSpinnerOperator oper,
                                    int direction)
        Constructs a ObjectScrollAdjuster object.
        Parameters:
        oper - an operator to work with.
        direction - a scrolling direction - one of ScrollAdjuster.*_SCROLL_DIRECTION fields.
    • Method Detail

      • getScrollDirection

        public int getScrollDirection()
        Description copied from interface: ScrollAdjuster
        Returns scroll direction to reach necessary scroller value.
        Specified by:
        getScrollDirection in interface ScrollAdjuster
        Returns:
        one of the values: INCREASE_SCROLL_DIRECTION, DECREASE_SCROLL_DIRECTION or DO_NOT_TOUCH_SCROLL_DIRECTION.
      • equals

        public abstract boolean equals​(java.lang.Object curvalue)
        Overrides:
        equals in class java.lang.Object
      • getScrollOrientation

        public int getScrollOrientation()
        Description copied from interface: ScrollAdjuster
        Returns scrolling orientation.
        Specified by:
        getScrollOrientation in interface ScrollAdjuster
        Returns:
        one of the values: Adjustable.HORIZONTAL or Adjustable.VERTICAL.