javax.swing.plaf.basic
public class BasicSliderUI.ScrollListener extends Object implements ActionListener
UNKNOWN: Apparently this class was intended to be protected, but was made public by a compiler bug and is now public for compatibility.
Constructor Summary | |
---|---|
ScrollListener()
Creates a new ScrollListener object. | |
ScrollListener(int dir, boolean block)
Creates a new ScrollListener object.
|
Method Summary | |
---|---|
void | actionPerformed(ActionEvent e)
Called every time the swing timer reaches its interval. |
void | setDirection(int direction)
Sets the direction to scroll in.
|
void | setScrollByBlock(boolean block)
Sets whether movement will be in blocks.
|
Parameters: dir The direction to scroll in. block If movement will be in blocks.
Parameters: e An {@link ActionEvent}.
Parameters: direction The direction to scroll in.
Parameters: block If movement will be in blocks.