public class GraphicsNodeMouseWheelEvent extends GraphicsNodeInputEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
MOUSE_WHEEL
The id for the "mouseWheelMoved" event.
|
protected int |
wheelDelta
Indicates the number of wheel notches have been moved.
|
ALT_GRAPH_MASK, ALT_MASK, BUTTON1_MASK, BUTTON2_MASK, BUTTON3_MASK, CAPS_LOCK_MASK, CTRL_MASK, KANA_LOCK_MASK, META_MASK, NUM_LOCK_MASK, SCROLL_LOCK_MASK, SHIFT_MASKidsource| Constructor and Description |
|---|
GraphicsNodeMouseWheelEvent(GraphicsNode source,
int id,
long when,
int modifiers,
int lockState,
int wheelDelta)
Constructs a new graphics node mouse wheel event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getWheelDelta()
Returns the number of clicks the wheel has been moved.
|
getLockState, getModifiers, getWhen, isAltDown, isAltGraphDown, isControlDown, isMetaDown, isShiftDownconsume, getGraphicsNode, getID, isConsumedgetSource, toStringpublic static final int MOUSE_WHEEL
protected int wheelDelta
public GraphicsNodeMouseWheelEvent(GraphicsNode source, int id, long when, int modifiers, int lockState, int wheelDelta)
source - the graphics node where the event originatedid - the id of this eventwhen - the time the event occurredwheelDelta - the number of clicksCopyright © 2000–2021 Apache Software Foundation. All rights reserved.