Class PreferenceTabbedPane.WheelListener
- java.lang.Object
-
- org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.WheelListener
-
- All Implemented Interfaces:
MouseWheelListener
,EventListener
- Enclosing class:
- PreferenceTabbedPane
static final class PreferenceTabbedPane.WheelListener extends Object implements MouseWheelListener
This mouse wheel listener reacts when a scroll is carried out over the tab strip and scrolls one tab/down or up, selecting it immediately.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) JTabbedPane
tabbedPane
-
Constructor Summary
Constructors Constructor Description WheelListener(JTabbedPane tabbedPane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseWheelMoved(MouseWheelEvent wev)
-
-
-
Field Detail
-
tabbedPane
final JTabbedPane tabbedPane
-
-
Constructor Detail
-
WheelListener
WheelListener(JTabbedPane tabbedPane)
-
-
Method Detail
-
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent wev)
- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-
-