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

Mouse listener scrolling widget using mouse wheel movement. More...

Inheritance diagram for ScrollWidgetWheelMouseListener:
DefaultMouseListener MouseListener

Public Member Functions

Container getWidget ()
 Widget to scroll. More...
 
ScrollWidgetWheelMouseListener new (Container widget)
 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 scrolling widget using mouse wheel movement.

Member Function Documentation

§ getWidget()

Container getWidget ( )

Widget to scroll.

§ new()

Create mouse listener.

§ onButtonPress()

void onButtonPress ( MouseEvent  event)

Mouse button has been pressed.

Starts scrolling by moving the mouse.

Implements MouseListener.


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