class GestureRecognizers extends java.lang.Object implements GestureRecognizer
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<GestureRecognizer> |
recognizers |
private GestureRecognizer[] |
workList |
Constructor and Description |
---|
GestureRecognizers() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(GestureRecognizer r) |
(package private) boolean |
contains(GestureRecognizer r) |
void |
notifyBeginTouchEvent(long time,
int modifiers,
boolean isDirect,
int touchEventCount) |
void |
notifyEndTouchEvent(long time) |
void |
notifyNextTouchEvent(long time,
int type,
long touchId,
int x,
int y,
int xAbs,
int yAbs) |
(package private) void |
remove(GestureRecognizer r) |
private GestureRecognizer[] |
synchWorkList() |
private java.util.Collection<GestureRecognizer> recognizers
private GestureRecognizer[] workList
void add(GestureRecognizer r)
void remove(GestureRecognizer r)
boolean contains(GestureRecognizer r)
private GestureRecognizer[] synchWorkList()
public void notifyBeginTouchEvent(long time, int modifiers, boolean isDirect, int touchEventCount)
notifyBeginTouchEvent
in interface GlassTouchEventListener
public void notifyNextTouchEvent(long time, int type, long touchId, int x, int y, int xAbs, int yAbs)
notifyNextTouchEvent
in interface GlassTouchEventListener
public void notifyEndTouchEvent(long time)
notifyEndTouchEvent
in interface GlassTouchEventListener