Class ScrollPaneSelector

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.pushingpixels.lafwidget.scroll.ScrollPaneSelector
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class ScrollPaneSelector extends JComponent
ScrollPaneSelector is a little utility class that provides a means to quickly scroll both vertically and horizontally on a single mouse click, by dragging a selection rectangle over a "thumbnail" of the scrollPane's viewport view.

Once the selector is installed on a given JScrollPane instance, a little button appears as soon as at least one of its scroll bars is made visible.

Contributed by the original author under BSD license. Also appears in the JDNC Incubator.

See Also: