Readonly
chartthe chart the listener represents
the last highlighted object (via touch)
Protected
mthe last touch gesture that has been performed
Protected
minteger field that holds the current touch-state
Constructor with initialization parameters.
Protected
Static
DRAGProtected
Static
NONEProtected
Static
PINCH_Protected
Static
POST_Protected
Static
ROTATEProtected
Static
X_Protected
Static
Y_Returns the last gesture that has been performed on the chart.
returns the touch mode the listener is currently in
Returns the correct translation depending on the provided x and y touch points
GESTURE RECOGNITION BELOW
Protected
performsets the starting angle of the rotation, this is only used by the touch listener, x and y is the touch position
Sets the deceleration-angular-velocity to 0f
updates the view rotation depending on the given touch position, also takes the starting angle into consideration
Protected
Static
distancereturns the distance between two points
TouchListener for Pie- and RadarChart with handles all touch interaction.