class GmMouseEventHandler

The mouse event handler handles all mouse events that occur on particular interactive widgets

Public Methods

[more] GmMouseEventHandler ()
Standard constructor
[more]virtual void mouseDrag (GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse drag event happens on the target widget.
[more]virtual void mouseMovement (GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse movement event happens on the target widget.
[more]virtual void mousePress (GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse press event happens on the target widget.
[more]virtual void mouseRelease (GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse release event happens on the target widget.
[more]virtual void mouseWheelMovement (GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse wheel movement event happens on the target widget.
[more]virtual ~GmMouseEventHandler ()
Standard destructor


Documentation

The mouse event handler handles all mouse events that occur on particular interactive widgets
o GmMouseEventHandler()
Standard constructor

ovirtual ~GmMouseEventHandler()
Standard destructor

ovirtual void mousePress(GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse press event happens on the target widget. This mouse event handler must register itself with the widget of interest if it is going to recieve any mouse press events.

Parameters:
mouseEvent - the mouse press event, which includes all relevant mouse data.

ovirtual void mouseRelease(GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse release event happens on the target widget. This mouse event handler must register itself with the widget of interest if it is going to recieve any mouse release events.

Parameters:
mouseEvent - the mouse release event, which includes all relevant mouse data.

ovirtual void mouseMovement(GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse movement event happens on the target widget. This mouse event handler must register itself with the widget of interest if it is going to recieve any mouse movement events.

Parameters:
mouseEvent - the mouse movement event, which includes all relevant mouse data.

ovirtual void mouseDrag(GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse drag event happens on the target widget. This mouse event handler must register itself with the widget of interest if it is going to recieve any mouse drag events.

Parameters:
mouseEvent - the mouse drag event, which includes all relevant mouse data.

ovirtual void mouseWheelMovement(GmEvent::MouseEventType* mouseEvent)
This method is called whenever a mouse wheel movement event happens on the target widget. This mouse event handler must register itself with the widget of interest if it is going to recieve any mouse wheel movement events.

Parameters:
mouseEvent - the mouse wheel movement event, which includes all relevant mouse data.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.