cohtml::Net::GestureRecognizerBase
Inherits from SystemIDisposable
Inherited by cohtml.Net.FlingRecognizer, cohtml.Net.PanRecognizer, cohtml.Net.TapRecognizer
Public Classes
Name | |
---|---|
class | TouchEventDataWithCurrentPos |
Public Functions
Name | |
---|---|
virtual void | Dispose() |
GestureRecognizerState | GetState() |
bool | IsEnabled() |
void | SetEnabled(bool enable) |
int | GetPriority() |
void | SetGestureListener(IGestureListener listener) |
virtual bool | OnTouchesBegan(TouchEventData [] touches, ulong count) |
virtual bool | OnTouchesMoved(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count) |
virtual bool | OnTouchesEnded(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count) |
virtual void | OnGestureRecognized() |
virtual GestureType | GetType() |
float | GetTouchLocationX() |
float | GetTouchLocationY() |
void | RecognizeTouches(TouchEventData [] touches, ulong count) |
Public Attributes
Name | |
---|---|
readonly int | MAX_TRACKING_TOUCHES |
Protected Attributes
Name | |
---|---|
bool | swigCMemOwn |
Public Functions Documentation
function Dispose
virtual void Dispose()
Reimplemented by: cohtml::Net::TapRecognizer::Dispose, cohtml::Net::PanRecognizer::Dispose, cohtml::Net::FlingRecognizer::Dispose
function GetState
GestureRecognizerState GetState()
function IsEnabled
bool IsEnabled()
function SetEnabled
void SetEnabled(
bool enable
)
function GetPriority
int GetPriority()
function SetGestureListener
void SetGestureListener(
IGestureListener listener
)
function OnTouchesBegan
virtual bool OnTouchesBegan(
TouchEventData [] touches,
ulong count
)
Reimplemented by: cohtml::Net::TapRecognizer::OnTouchesBegan, cohtml::Net::PanRecognizer::OnTouchesBegan, cohtml::Net::FlingRecognizer::OnTouchesBegan
function OnTouchesMoved
virtual bool OnTouchesMoved(
GestureRecognizerBase.TouchEventDataWithCurrentPos touches,
ulong count
)
Reimplemented by: cohtml::Net::PanRecognizer::OnTouchesMoved, cohtml::Net::FlingRecognizer::OnTouchesMoved
function OnTouchesEnded
virtual bool OnTouchesEnded(
GestureRecognizerBase.TouchEventDataWithCurrentPos touches,
ulong count
)
Reimplemented by: cohtml::Net::TapRecognizer::OnTouchesEnded, cohtml::Net::PanRecognizer::OnTouchesEnded, cohtml::Net::FlingRecognizer::OnTouchesEnded
function OnGestureRecognized
virtual void OnGestureRecognized()
Reimplemented by: cohtml::Net::TapRecognizer::OnGestureRecognized, cohtml::Net::PanRecognizer::OnGestureRecognized, cohtml::Net::FlingRecognizer::OnGestureRecognized
function GetType
virtual GestureType GetType()
Reimplemented by: cohtml::Net::TapRecognizer::GetType, cohtml::Net::PanRecognizer::GetType, cohtml::Net::FlingRecognizer::GetType
function GetTouchLocationX
float GetTouchLocationX()
function GetTouchLocationY
float GetTouchLocationY()
function RecognizeTouches
void RecognizeTouches(
TouchEventData [] touches,
ulong count
)
Public Attributes Documentation
variable MAX_TRACKING_TOUCHES
static readonly int MAX_TRACKING_TOUCHES = cohtmlNativePINVOKE.GestureRecognizerBase_MAX_TRACKING_TOUCHES_get();
Protected Attributes Documentation
variable swigCMemOwn
bool swigCMemOwn;