public class MultiTouchEvent extends Event<MultiTouchListener>
Event.Type<H>
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
EVENT_NAME |
double |
scale
The current scale value.
|
static int |
SCALE
The event type for a pen or mouse down.
|
Constructor and Description |
---|
MultiTouchEvent() |
Modifier and Type | Method and Description |
---|---|
void |
dispatch(MultiTouchListener listener) |
static java.lang.String |
getEventName(int type)
Returns the event name.
|
java.lang.String |
toString() |
MultiTouchEvent |
update(Control c,
double scale)
Updates this event setting also the timestamp, consumed and target.
|
clearQueue, getNextAvailableEventId, isAvailable, touch
public static final int SCALE
protected static final java.lang.String[] EVENT_NAME
public double scale
public MultiTouchEvent update(Control c, double scale)
public static java.lang.String getEventName(int type)
public java.lang.String toString()
toString
in class Event<MultiTouchListener>
public void dispatch(MultiTouchListener listener)
dispatch
in class Event<MultiTouchListener>