public class GraphicsNodeMouseWheelEvent extends GraphicsNodeInputEvent
| Modifier and Type | Field | Description |
|---|---|---|
static int |
MOUSE_WHEEL |
The id for the "mouseWheelMoved" event.
|
protected int |
wheelDelta |
Indicates the number of wheel notches have been moved.
|
idALT_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_MASK| Constructor | 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 | Description |
|---|---|---|
int |
getWheelDelta() |
Returns the number of clicks the wheel has been moved.
|
consume, getGraphicsNode, getID, isConsumedgetLockState, getModifiers, getWhen, isAltDown, isAltGraphDown, isControlDown, isMetaDown, isShiftDownpublic 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 ? 2018 Apache Software Foundation. All Rights Reserved.