TouchEventCollection Class Reference

Class that holds multiple touch events at the same time. More...

List of all members.

Public Member Functions

 TouchEventCollection ()
 Constructor.
TouchEvent GetTouchEventByID (int id)
 Obtains the touch event of the specified finger ID.
int Add (TouchEvent touchEvent)
 Adds a touch event.
void Insert (int index, TouchEvent touchEvent)
 Adds a touch event to the specified index position.
int IndexOf (TouchEvent touchEvent)
 Obtains the index of a specified touch event.
void Remove (TouchEvent touchEvent)
 Deletes the specified touch event.
bool Contains (TouchEvent touchEvent)
 Obtains whether or not the specified touch event is included.

Properties

TouchEvent this [int index] [get, set]
 Indexer.
TouchEvent PrimaryTouchEvent [get, set]
 Obtains the touch event of the widget that was first touched by a finger.
bool Forward [get, set]
 Obtains and sets whether to forward a touch event included in a collection.

Detailed Description

Class that holds multiple touch events at the same time.


Member Function Documentation

int Add ( TouchEvent  touchEvent)

Adds a touch event.

Parameters:
touchEventTouch event
bool Contains ( TouchEvent  touchEvent)

Obtains whether or not the specified touch event is included.

Parameters:
touchEventTouch event
Returns:
Whether included or not
TouchEvent GetTouchEventByID ( int  id)

Obtains the touch event of the specified finger ID.

Parameters:
idFinger ID
Returns:
Touch event
int IndexOf ( TouchEvent  touchEvent)

Obtains the index of a specified touch event.

Parameters:
touchEventTouch event
Returns:
Index
void Insert ( int  index,
TouchEvent  touchEvent 
)

Adds a touch event to the specified index position.

Parameters:
indexIndex
touchEventTouch event
void Remove ( TouchEvent  touchEvent)

Deletes the specified touch event.

Parameters:
touchEventTouch event

Property Documentation

bool Forward [get, set]

Obtains and sets whether to forward a touch event included in a collection.

Default value is False.