Drag[en]gine Script Module DragonScript Script API  1.0
WheelActionMouseListener Class Reference

Mouse listener firing ActionListener objects upon using mouse wheel. More...

Inheritance diagram for WheelActionMouseListener:
DefaultMouseListener MouseListener

Public Member Functions

WheelActionMouseListener new (ActionListener actionUp, ActionListener actionDown)
 Create mouse listener. More...
 
void onButtonPress (MouseEvent event)
 Mouse button has been pressed. More...
 
- Public Member Functions inherited from DefaultMouseListener
DefaultMouseListener new ()
 Create default mouse listener. More...
 
void onButtonPress (MouseEvent event)
 Mouse button has been pressed. More...
 
void onButtonRelease (MouseEvent event)
 Mouse button has been released. More...
 
void onMouseEnter (MouseEvent event)
 Mouse has entered widget.. More...
 
void onMouseLeave (MouseEvent event)
 Mouse has left widget. More...
 
void onMouseMove (MouseEvent event)
 Mouse has moved. More...
 

Detailed Description

Mouse listener firing ActionListener objects upon using mouse wheel.

Allows to set up quickly two actions for using the mouse wheel. The modifiers are repeated in the ActionEvent send to the action.

Member Function Documentation

§ new()

WheelActionMouseListener new ( ActionListener  actionUp,
ActionListener  actionDown 
)

Create mouse listener.

§ onButtonPress()

void onButtonPress ( MouseEvent  event)

Mouse button has been pressed.

Implements MouseListener.


The documentation for this class was generated from the following file: