public abstract static class Mouse.Listener
extends react.Slot<java.lang.Object>
| Constructor | Description |
|---|---|
Listener() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onButton(playn.core.Mouse.ButtonEvent event,
Mouse.Interaction iact) |
Notifies listener of a mouse button event.
|
void |
onCancel() |
Notifies the listener that the current interaction was canceled.
|
void |
onDrag(playn.core.Mouse.MotionEvent event,
Mouse.Interaction iact) |
Notifies listener of a mouse drag event.
|
void |
onEmit(java.lang.Object event) |
|
void |
onHover(Mouse.HoverEvent event,
Mouse.Interaction iact) |
Notifies listener of mouse entry or exit.
|
void |
onMotion(playn.core.Mouse.MotionEvent event,
Mouse.Interaction iact) |
Notifies listener of a mouse motion event.
|
void |
onWheel(playn.core.Mouse.WheelEvent event,
Mouse.Interaction iact) |
Notifies listener of a mouse wheel event.
|
public void onMotion(playn.core.Mouse.MotionEvent event,
Mouse.Interaction iact)
public void onHover(Mouse.HoverEvent event, Mouse.Interaction iact)
public void onButton(playn.core.Mouse.ButtonEvent event,
Mouse.Interaction iact)
public void onDrag(playn.core.Mouse.MotionEvent event,
Mouse.Interaction iact)
public void onWheel(playn.core.Mouse.WheelEvent event,
Mouse.Interaction iact)
public void onCancel()
public final void onEmit(java.lang.Object event)
Copyright © 2018. All Rights Reserved.