Package Summary  Overview Summary

class:BasicSliderUI.ScrollListener [NONE]

  • All Implemented Interfaces:
    ActionListener, EventListener
    Enclosing class:
    BasicSliderUI

    public class BasicSliderUI.ScrollListener
    extends Object
    implements ActionListener
    
    Scroll-event listener. This class should be treated as a "protected" inner class. Instantiate it only within subclasses of Foo.

constructor:<init>() [NONE]

  • ScrollListener

    public ScrollListener()
    Constructs a ScrollListener

constructor:<init>(int,boolean) [NONE]

  • ScrollListener

    public ScrollListener​(int dir,
                          boolean block)
    Constructs a ScrollListener
    Parameters:
    dir - the direction
    block - whether or not to scroll by block

method:setDirection(int) [NONE]

  • setDirection

    public void setDirection​(int direction)
    Sets the direction.
    Parameters:
    direction - the new direction

method:setScrollByBlock(boolean) [NONE]

  • setScrollByBlock

    public void setScrollByBlock​(boolean block)
    Sets scrolling by block
    Parameters:
    block - the new scroll by block value

method:actionPerformed(java.awt.event.ActionEvent) [NONE]

© 2018 Oracle Corporation and/or its affiliates