javax.swing.plaf.basic
Class BasicScrollPaneUI.ScrollAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.plaf.basic.BasicScrollPaneUI.ScrollAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Enclosing class:
- BasicScrollPaneUI
- private static class BasicScrollPaneUI.ScrollAction
- extends AbstractAction
Action to scroll left/right/up/down.
Field Summary |
private boolean |
block
True indicates a block scroll, otherwise a unit scroll. |
protected int |
direction
1 indicates scroll down, -1 up. |
protected int |
orientation
Direction to scroll. |
orientation
protected int orientation
- Direction to scroll.
direction
protected int direction
- 1 indicates scroll down, -1 up.
block
private boolean block
- True indicates a block scroll, otherwise a unit scroll.
BasicScrollPaneUI.ScrollAction
protected BasicScrollPaneUI.ScrollAction(String name,
int orientation,
int direction,
boolean block)
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from interface:
ActionListener
- Invoked when an action occurs.