CSvgEventHandler Class Reference
class CSvgEventHandler : public CBase
|
Class description goes here.
Nested Classes and Structures
Public Member Functions
|
|
~CSvgEventHandler
()
|
void
|
AddEventBeginTime
(
MSvgEventReceiver
*,
TUint32
,
MSvgEventReceiver
*)
|
void
|
AddToEventReceiverListL
(
MSvgEventReceiver
*,
TUint8
,
TUint32
,
TUint32
)
|
void
|
AddToEventReceiverListL
(
MSvgEventReceiver
*,
TSvgEvent
,
TUint8
,
TUint32
,
TUint32
)
|
TInt32
|
AnimationElementsCount
()
|
TBool
|
CheckInteractivityAndGetSubEventMask
(
CSvgElementImpl
*,
TUint16
&)
|
void
|
ClearNullsFromEventReceiverList
()
|
TInt32
|
Count
()
|
void
|
DeactivateAnimations
()
|
void
|
DoAnimProcL
(
MSvgEvent
*)
|
void
|
DoCancel
()
|
TUint8
|
EventMask
(
MSvgEventReceiver
*)
|
MSvgEventReceiver
*
|
GetEventReceiver
(
TInt32
,
TBool
,
TUint8
,
TInt32
&)
|
TBool
|
IsValidSubEventMask
(
TUint16
)
|
CSvgEventHandler
*
|
NewL
()
|
CSvgEventHandler
*
|
NewLC
()
|
TBool
|
ProcessEventL
(
MSvgEvent
*)
|
void
|
ReInitialize
()
|
void
|
RemoveFromEventReceiverList
(
MSvgEventReceiver
*)
|
void
|
Reset
()
|
void
|
Reset
(
MSvgEvent
*)
|
void
|
ResetTimes
()
|
void
|
RunL
()
|
void
|
SetCurrentTime
(
TInt32
)
|
void
|
SortEventList
()
|
Constructor & Destructor Documentation
CSvgEventHandler()
CSvgEventHandler
|
(
|
)
|
[private]
|
Member Functions Documentation
AddEventBeginTime(MSvgEventReceiver *, TUint32, MSvgEventReceiver *)
Provide the event end time information to the Event Handler
Parameters
MSvgEventReceiver
* aElement
|
- An element that, ultimately, processes the event (eg. an animation element)
|
TUint32
aTime
|
- The end time for an event on the target element
|
MSvgEventReceiver
* aTargetElement
|
- The element for which the event is processed
|
AddToEventReceiverListL(MSvgEventReceiver *, TUint8, TUint32, TUint32)
Add an object to the list of objects that are notified of an event
Parameters
MSvgEventReceiver
* aElement
|
- An SVG element that wants to be registered for an event (implements MSvgEventReceiver interface)
|
TUint8
aEventMask
|
- A bit mask that indicates the types of events an object listens for
|
TUint32
aBeginTime = 0
|
|
TUint32
aEndTime = 0
|
|
AddToEventReceiverListL(MSvgEventReceiver *, TSvgEvent, TUint8, TUint32, TUint32)
Add an object to the list of objects that are notified of an event
Parameters
MSvgEventReceiver
* aElement
|
- An SVG element that wants to be registered for an event (implements MSvgEventReceiver interface)
|
TSvgEvent
aEvent
|
- An SVG Event that the target element needs to generate
|
TUint8
aEventMask
|
- A bit mask that indicates the types of events an object listens for
|
TUint32
aBeginTime = 0
|
|
TUint32
aEndTime = 0
|
|
AnimationElementsCount()
TInt32
|
AnimationElementsCount
|
(
|
)
|
|
CheckInteractivityAndGetSubEventMask(CSvgElementImpl *, TUint16 &)
Checks whether the element is interactive or not and if interactive updates aSubEventMask.
-
Since
-
v3.2
Parameters
CSvgElementImpl
* aElement
|
|
TUint16
& aSubEventMask
|
- contains the list of interactive events that the element can respond to. It is a bitmask using TSvgInteractionEvent
|
ClearNullsFromEventReceiverList()
void
|
ClearNullsFromEventReceiverList
|
(
|
)
|
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
A private constructor that constructs heap objects
DeactivateAnimations()
void
|
DeactivateAnimations
|
(
|
)
|
|
DoCancel()
Standard active object DoCancel method
EventMask(MSvgEventReceiver *)
EventMask: Return the event mask of the registered element
GetEventReceiver(TInt32, TBool, TUint8, TInt32 &)
returns the next (or prev) focussable object starting with a given index search wraps around to start or end
Parameters
TInt32
aIndex
|
- search for a focussable object with this index
|
TBool
aNext
|
- Etrue (next) EFalse (prev) (go forward or backward for search)
|
TUint8
aMask
|
|
TInt32
& aNewIndex
|
- Return the actual index where the object was found
|
IsValidSubEventMask(TUint16)
Checks whether the aSubEventMask is has a valid value set
-
Since
-
v3.2
ProcessEventL(MSvgEvent *)
Process events received from the client
Parameters
MSvgEvent
* aEvent
|
- An object containing event information (implements MSvgEvent interface)
|
RemoveFromEventReceiverList(MSvgEventReceiver *)
Remove an object from the list of objects that are notified of an event
Parameters
MSvgEventReceiver
* aElement
|
- An SVG element that wants to be unregistered for an event (implements MSvgEventReceiver interface)
|
Reset()
Reset the status of the event handler and all the event receivers
RunL()
Standard avtive object RunL method
SetCurrentTime(TInt32)
void
|
SetCurrentTime
|
(
|
TInt32
|
aTime
|
)
|
|
SortEventList()
An internal method that sorts the events in a time scale
Member Data Documentation
CArrayFixFlat< TEventReceiverListItem > * iEventReceiverList
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.