C# Class Grafiti.GlobalGestureRecognizer

A GGR recognizes gestures produced anywhere. An instance of this class (or its subclasses) will be created for each group in the surface, at the moment of its creation (when there is at least one registered listener). Event handlers' targets have to implement the interface IGestureListener (or ITangibleGestureListener).
Inheritance: GestureRecognizer
Mostra file Open project: nuigroup/grafiti

Protected Properties

Property Type Description
ClosestCurrentEvents string[]
ClosestEnteringEvents string[]
ClosestFinalEvents string[]
ClosestInitialEvents string[]
ClosestLeavingEvents string[]
ClosestNewInitialEvents string[]
CurrentEvents string[]
DefaultEvents string[]
EnteringEvents string[]
FinalEvents string[]
InitialEvents string[]
IntersectionEvents string[]
LeavingEvents string[]
NewInitialEvents string[]
UnionEvents string[]

Public Methods

Method Description
GlobalGestureRecognizer ( GRConfiguration configuration ) : System

Protected Methods

Method Description
UpdateEventHandlers ( bool initial, bool final, bool entering, bool current, bool leaving, bool intersect, bool union, bool newClosestEnt, bool newClosestCur, bool newClosestLvn, bool newClosestIni, bool newClosestFin ) : void

Updates handlers for the events with targets appearing in the predefined target lists. You can override this funcion, to deal the changes, remebering to call the base function before or after your code.

Private Methods

Method Description
AddHandler ( string ev, GestureEventHandler handler ) : void
UpdateHandlers ( TargetList targetList ) : void
UpdateHandlers1 ( bool initial, bool final, bool entering, bool current, bool leaving, bool intersect, bool union, bool newClosestEnt, bool newClosestCur, bool newClosestLvn, bool newClosestIni, bool newClosestFin ) : void

Updates handlers for the events with targets appearing in the predefined target lists

Method Details

GlobalGestureRecognizer() public method

public GlobalGestureRecognizer ( GRConfiguration configuration ) : System
configuration GRConfiguration
return System

UpdateEventHandlers() protected method

Updates handlers for the events with targets appearing in the predefined target lists. You can override this funcion, to deal the changes, remebering to call the base function before or after your code.
protected UpdateEventHandlers ( bool initial, bool final, bool entering, bool current, bool leaving, bool intersect, bool union, bool newClosestEnt, bool newClosestCur, bool newClosestLvn, bool newClosestIni, bool newClosestFin ) : void
initial bool
final bool
entering bool
current bool
leaving bool
intersect bool
union bool
newClosestEnt bool
newClosestCur bool
newClosestLvn bool
newClosestIni bool
newClosestFin bool
return void

Property Details

ClosestCurrentEvents protected_oe property

protected string[] ClosestCurrentEvents
return string[]

ClosestEnteringEvents protected_oe property

protected string[] ClosestEnteringEvents
return string[]

ClosestFinalEvents protected_oe property

protected string[] ClosestFinalEvents
return string[]

ClosestInitialEvents protected_oe property

protected string[] ClosestInitialEvents
return string[]

ClosestLeavingEvents protected_oe property

protected string[] ClosestLeavingEvents
return string[]

ClosestNewInitialEvents protected_oe property

protected string[] ClosestNewInitialEvents
return string[]

CurrentEvents protected_oe property

protected string[] CurrentEvents
return string[]

DefaultEvents protected_oe property

protected string[] DefaultEvents
return string[]

EnteringEvents protected_oe property

protected string[] EnteringEvents
return string[]

FinalEvents protected_oe property

protected string[] FinalEvents
return string[]

InitialEvents protected_oe property

protected string[] InitialEvents
return string[]

IntersectionEvents protected_oe property

protected string[] IntersectionEvents
return string[]

LeavingEvents protected_oe property

protected string[] LeavingEvents
return string[]

NewInitialEvents protected_oe property

protected string[] NewInitialEvents
return string[]

UnionEvents protected_oe property

protected string[] UnionEvents
return string[]