MoSync 3.3
MAUtil::KeyListener Class Reference

A listener for keypad events. More...

#include <MAUtil/Environment.h>

Inheritance diagram for MAUtil::KeyListener:
MAUI::EditBox MAUI::Screen MAUtil::CharInput MAUtil::Moblet Wormhole::CustomMoblet MAUtil::GLMoblet Wormhole::WebAppMoblet Wormhole::HybridMoblet

List of all members.

Public Member Functions

virtual ~KeyListener ()
virtual void keyPressEvent (int keyCode, int nativeCode)
virtual void keyReleaseEvent (int keyCode, int nativeCode)
virtual void charEvent (uint character)
virtual void keyPressEvent (int keyCode)
virtual void keyReleaseEvent (int keyCode)

Detailed Description

A listener for keypad events.

It uses MAK_ codes.

See also:
Environment::addKeyListener()

Constructor & Destructor Documentation

virtual MAUtil::KeyListener::~KeyListener ( ) [virtual]

Member Function Documentation

virtual void MAUtil::KeyListener::keyReleaseEvent ( int  keyCode,
int  nativeCode 
) [virtual]
virtual void MAUtil::KeyListener::charEvent ( uint  character) [virtual]
Parameters:
characterA Unicode character.

Reimplemented in MAUtil::CharInput.

virtual void MAUtil::KeyListener::keyPressEvent ( int  keyCode) [inline, virtual]
virtual void MAUtil::KeyListener::keyReleaseEvent ( int  keyCode) [inline, virtual]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines