Class ScrollBarListener.Adapter

  • All Implemented Interfaces:
    ScrollBarListener
    Enclosing interface:
    ScrollBarListener

    @Deprecated
    public static class ScrollBarListener.Adapter
    extends java.lang.Object
    implements ScrollBarListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Scroll bar listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • orientationChanged

        public void orientationChanged​(ScrollBar scrollBar,
                                       Orientation previousOrientation)
        Deprecated.
        Description copied from interface: ScrollBarListener
        Called when a scroll bar's orientation has changed.
        Specified by:
        orientationChanged in interface ScrollBarListener
        Parameters:
        scrollBar - The scroll bar that changed orientation.
        previousOrientation - The previous orientation.
      • scopeChanged

        public void scopeChanged​(ScrollBar scrollBar,
                                 int previousStart,
                                 int previousEnd,
                                 int previousExtent)
        Deprecated.
        Description copied from interface: ScrollBarListener
        Called when a scroll bar's scope has changed.
        Specified by:
        scopeChanged in interface ScrollBarListener
        Parameters:
        scrollBar - The scroll bar that changed.
        previousStart - The previous start value.
        previousEnd - The previous end value.
        previousExtent - The previous scroll bar extent value.
      • unitIncrementChanged

        public void unitIncrementChanged​(ScrollBar scrollBar,
                                         int previousUnitIncrement)
        Deprecated.
        Description copied from interface: ScrollBarListener
        Called when a scroll bar's unit increment has changed.
        Specified by:
        unitIncrementChanged in interface ScrollBarListener
        Parameters:
        scrollBar - The scroll bar that changed.
        previousUnitIncrement - The previous unit increment value.
      • blockIncrementChanged

        public void blockIncrementChanged​(ScrollBar scrollBar,
                                          int previousBlockIncrement)
        Deprecated.
        Description copied from interface: ScrollBarListener
        Called when a scroll bar's block increment has changed.
        Specified by:
        blockIncrementChanged in interface ScrollBarListener
        Parameters:
        scrollBar - The scroll bar that changed.
        previousBlockIncrement - The previous block increment value.