interface TouchFilter
Modifier and Type | Field and Description |
---|---|
static int |
PRIORITY_ID
The priority value of the filter that applies IDs to points
|
static int |
PRIORITY_POST_ID
The priority value of a filter that is applied after IDs are assigned to
points
|
static int |
PRIORITY_PRE_ID
The priority value of a filter that is applied before IDs are assigned to
points
|
Modifier and Type | Method and Description |
---|---|
boolean |
filter(TouchState state)
Filters a touch state
|
boolean |
flush(TouchState state)
Flushes this filter's state.
|
int |
getPriority()
Gets the priority of this touch filter.
|
static final int PRIORITY_PRE_ID
static final int PRIORITY_ID
static final int PRIORITY_POST_ID
boolean filter(TouchState state)
state
- The new state to be filtered or modifiedboolean flush(TouchState state)
state
- a TouchState object to be filled in by the filterint getPriority()