net.refractions.udig.project.ui.render.displayAdapter
Class MapMouseWheelEvent

java.lang.Object
  extended by net.refractions.udig.project.ui.render.displayAdapter.MapMouseEvent
      extended by 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 net.refractions.udig.project.ui.render.displayAdapter.MapMouseEvent
buttonsDown, getPoint, isAltDown, isControlDown, isModifierDown, isShiftDown, modifiersDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clickCount

public final int clickCount
The number of wheel clicks. Positive indicates forward/up scroll direction.

Constructor Detail

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 event
state - the state of the event ORed together
x - the x position of the event
y - the y position of the event
clickCount - The number of wheel clicks. Positive indicates forward/up scroll direction.
Method Detail

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.