Package Summary  Overview Summary

class:BasicScrollBarUI.ScrollListener [NONE]

All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
BasicScrollBarUI

protected class BasicScrollBarUI.ScrollListener
extends Object
implements ActionListener
Listener for scrolling events initiated in the ScrollPane.

constructor:BasicScrollBarUI.ScrollListener() [NONE]

  • ScrollListener

    public ScrollListener()
    Constructs a ScrollListener.
  • constructor:BasicScrollBarUI.ScrollListener(int,boolean) [NONE]

    ScrollListener

    public ScrollListener?(int dir, boolean block)
    Constructs a ScrollListener.
    Parameters:
    dir - direction
    block - use block increment

    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 the scrolling by block
    Parameters:
    block - whether or not to scroll by block

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

    actionPerformed

    public void actionPerformed?(ActionEvent e)
    Invoked when an action occurs.
    Specified by:
    actionPerformed in interface ActionListener
    Parameters:
    e - the event to be processed

    © 2020 Oracle Corporation and/or its affiliates