class GmKeyEventHandler

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

Public Methods

[more] GmKeyEventHandler ()
Standard constructor
[more]virtual void keyPress (GmEvent::KeyEventType* keyEvent)
This method is called whenever a key press event happens on the target widget.
[more]virtual void keyRelease (GmEvent::KeyEventType* keyEvent)
This method is called whenever a key release event happens on the target widget.
[more]virtual ~GmKeyEventHandler ()
Standard destructor


Documentation

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

ovirtual ~GmKeyEventHandler()
Standard destructor

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

Parameters:
keyEvent - the key press event, which includes all relevant key data.

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

Parameters:
keyEvent - the key release event, which includes all relevant key data.


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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