stmUiEventEngine::MUiEvent Class Reference

class stmUiEventEngine::MUiEvent : public stmUiEventEngine::MUiEventSpeed

The UI event interface, UI events are touch, hold, move and release. Note that currently the interface is not OS agnostic enough. It is using TPoint, TTimeIntervalMicroSeconds etc. types which should be replaced with some standard types/classes.

Inherits from

Member Functions Documentation

Code()

TUiEventCode Code()const [pure virtual]

The UI event code

CurrentXY()

const TPoint &CurrentXY()const [pure virtual]

Current position in _screen_ coordinates

Index()

intIndex()const [pure virtual]

The index of the UI event. In single touch this is always 0

PreviousXY()

const TPoint &PreviousXY()const [pure virtual]

Previous position in _screen_ coordinates

StartPos()

const TPoint &StartPos()const [pure virtual]

The starting position of the gesture in _screen_ coordinates

StateTransition()

TTimeIntervalMicroSeconds StateTransition()const [pure virtual]

Time difference between this and previous UI event

Target()

void *Target()const [pure virtual]

Target identifier (in practice the CCoeControl* of the window)

TimerExpired()

boolTimerExpired()const [pure virtual]

true, if the UI event was generated because of timer expiration

countOfEvents()

intcountOfEvents()const [pure virtual]

Count of events in gesture

previousEvent()

MUiEvent *previousEvent()const [pure virtual]

Next event in the gesture (with the same index)

speedX()

floatspeedX()const [pure virtual]

Speed. Speed is calculated based on the previous event.

speedY()

floatspeedY()const [pure virtual]

Speed. Speed is calculated based on the previous event.

timestamp()

TInt64 timestamp()const [pure virtual]

Timestamp