C# Класс 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).
Наследование: GestureRecognizer
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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[]

Открытые методы

Метод Описание
GlobalGestureRecognizer ( GRConfiguration configuration ) : System

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GlobalGestureRecognizer() публичный Метод

public GlobalGestureRecognizer ( GRConfiguration configuration ) : System
configuration GRConfiguration
Результат System

UpdateEventHandlers() защищенный Метод

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
Результат void

Описание свойств

ClosestCurrentEvents защищенное свойство

protected string[] ClosestCurrentEvents
Результат string[]

ClosestEnteringEvents защищенное свойство

protected string[] ClosestEnteringEvents
Результат string[]

ClosestFinalEvents защищенное свойство

protected string[] ClosestFinalEvents
Результат string[]

ClosestInitialEvents защищенное свойство

protected string[] ClosestInitialEvents
Результат string[]

ClosestLeavingEvents защищенное свойство

protected string[] ClosestLeavingEvents
Результат string[]

ClosestNewInitialEvents защищенное свойство

protected string[] ClosestNewInitialEvents
Результат string[]

CurrentEvents защищенное свойство

protected string[] CurrentEvents
Результат string[]

DefaultEvents защищенное свойство

protected string[] DefaultEvents
Результат string[]

EnteringEvents защищенное свойство

protected string[] EnteringEvents
Результат string[]

FinalEvents защищенное свойство

protected string[] FinalEvents
Результат string[]

InitialEvents защищенное свойство

protected string[] InitialEvents
Результат string[]

IntersectionEvents защищенное свойство

protected string[] IntersectionEvents
Результат string[]

LeavingEvents защищенное свойство

protected string[] LeavingEvents
Результат string[]

NewInitialEvents защищенное свойство

protected string[] NewInitialEvents
Результат string[]

UnionEvents защищенное свойство

protected string[] UnionEvents
Результат string[]