|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MinuetoMouseWheelHandler
The MinuetoMouseWheelHandler is an interface for receiving a mouse wheel event
(rotate) from a MinuetoWindow and handling it.
In other words, the class that will handle mouse wheel input from MinuetoWindow
must extend this interface. In turn, that class must be registered with
the MinuetoEventQueue.
An event is generated everytime the mouse wheel is turned.
When the handle method on the MinuetoEventQueue is invoked, that
event is processed and the appropriate method in MinuetoMouseWheelHandler
is invoked.
MinuetoMouse,
MinuetoEventQueue| Method Summary | |
|---|---|
void |
handleMouseWheelRotate(int rotate)
Invoked when a mouse wheel is turned. |
| Method Detail |
|---|
void handleMouseWheelRotate(int rotate)
Note: If the mouse wheel rotated towards the user (down) the value is positive. If the mouse wheel rotated away from the user (up) the value is negative.
rotate - int denoting how much the mouse wheel was turned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||