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
Afficher le fichier Open project: nuigroup/grafiti

Protected Properties

Свойство 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[]

Méthodes publiques

Méthode Description
GlobalGestureRecognizer ( GRConfiguration configuration ) : System

Méthodes protégées

Méthode 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

Méthode 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 méthode

public GlobalGestureRecognizer ( GRConfiguration configuration ) : System
configuration GRConfiguration
Résultat System

UpdateEventHandlers() protected méthode

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
Résultat void

Property Details

ClosestCurrentEvents protected_oe property

protected string[] ClosestCurrentEvents
Résultat string[]

ClosestEnteringEvents protected_oe property

protected string[] ClosestEnteringEvents
Résultat string[]

ClosestFinalEvents protected_oe property

protected string[] ClosestFinalEvents
Résultat string[]

ClosestInitialEvents protected_oe property

protected string[] ClosestInitialEvents
Résultat string[]

ClosestLeavingEvents protected_oe property

protected string[] ClosestLeavingEvents
Résultat string[]

ClosestNewInitialEvents protected_oe property

protected string[] ClosestNewInitialEvents
Résultat string[]

CurrentEvents protected_oe property

protected string[] CurrentEvents
Résultat string[]

DefaultEvents protected_oe property

protected string[] DefaultEvents
Résultat string[]

EnteringEvents protected_oe property

protected string[] EnteringEvents
Résultat string[]

FinalEvents protected_oe property

protected string[] FinalEvents
Résultat string[]

InitialEvents protected_oe property

protected string[] InitialEvents
Résultat string[]

IntersectionEvents protected_oe property

protected string[] IntersectionEvents
Résultat string[]

LeavingEvents protected_oe property

protected string[] LeavingEvents
Résultat string[]

NewInitialEvents protected_oe property

protected string[] NewInitialEvents
Résultat string[]

UnionEvents protected_oe property

protected string[] UnionEvents
Résultat string[]