net.refractions.udig.project.ui.render.displayAdapter
Class MapMouseWheelEvent
java.lang.Object
net.refractions.udig.project.ui.render.displayAdapter.MapMouseEvent
net.refractions.udig.project.ui.render.displayAdapter.MapMouseWheelEvent
public class MapMouseWheelEvent
- extends MapMouseEvent
Event Mouse wheel events. API use?example?
- Since:
- 0.3
- Author:
- Jones
- See Also:
MapMouseEvent
Field Summary |
int |
clickCount
The number of wheel clicks. |
Fields inherited from class net.refractions.udig.project.ui.render.displayAdapter.MapMouseEvent |
ALT_DOWN_MASK, button, BUTTON1, BUTTON2, BUTTON3, buttons, CTRL_DOWN_MASK, MOD1_DOWN_MASK, MOD2_DOWN_MASK, MOD3_DOWN_MASK, MOD4_DOWN_MASK, modifiers, NONE, SHIFT_DOWN_MASK, source, state, timestamp, x, y |
Constructor Summary |
MapMouseWheelEvent(IMapDisplay source,
int x,
int y,
int modifiers,
int buttons,
int button,
int clickCount)
Construct MapMouseWheelEvent . |
Method Summary |
int |
getClickCount()
Returns the number of wheel clicks. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clickCount
public final int clickCount
- The number of wheel clicks. Positive indicates forward/up scroll direction.
MapMouseWheelEvent
public MapMouseWheelEvent(IMapDisplay source,
int x,
int y,
int modifiers,
int buttons,
int button,
int clickCount)
- Construct
MapMouseWheelEvent
.
- Parameters:
source
- The object that raised the eventstate
- the state of the event ORed togetherx
- the x position of the eventy
- the y position of the eventclickCount
- The number of wheel clicks. Positive indicates forward/up scroll direction.
getClickCount
public int getClickCount()
- Returns the number of wheel clicks. Positive indicates forward/up scroll direction. API is
this method required?
- Returns:
- the number of wheel clicks.