Package VASSAL.tools

Class ScrollPane

java.lang.Object
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScrollPaneConstants
Direct Known Subclasses:
AdjustableSpeedScrollPane, GlobalMap.GlobalMapScrollPane

public class ScrollPane extends JScrollPane
ScrollPane extends JScrollPane to have complete mouse-wheel functionality. The mouse wheel scrolls vertically when hovering over the view or vertical scrollbar, and horizontally when CTRL is depressed or when hovering over the horizontal scrollbar. ScrollPane uses the system default scroll speed. For scrollpanes which will contain large images (e.g., maps) use AdjustableSpeedScrollPane, which has a user-configurable scroll speed, instead.
Author:
Joel Uckelman
See Also: