TouchEvent

class TouchEvent(val delegate: TouchEvent) extends InputEvent with SFXDelegate[TouchEvent]
class Event
trait SFXDelegate[TouchEvent]
class Object
trait Matchable
class Any

Value members

Concrete methods

def altDown: Boolean

Indicates whether or not the Alt modifier is down on this event.

Indicates whether or not the Alt modifier is down on this event.

def controlDown: Boolean

Indicates whether or not the Control modifier is down on this event.

Indicates whether or not the Control modifier is down on this event.

def eventSetId: Int

Gets sequential number of the set of touch events representing the same multi-touch action. For a multi-touch user action, number of touch points may exist; each of them produces a touch event, each of those touch events carry the same list of touch points - and all of them return the same number from this method. Then state of some of the touch points changes and the new set of events has new id. The id is guaranteed to be sequential and unique in scope of one gesture (is reset when all touch points are released).

Gets sequential number of the set of touch events representing the same multi-touch action. For a multi-touch user action, number of touch points may exist; each of them produces a touch event, each of those touch events carry the same list of touch points - and all of them return the same number from this method. Then state of some of the touch points changes and the new set of events has new id. The id is guaranteed to be sequential and unique in scope of one gesture (is reset when all touch points are released).

def metaDown: Boolean

Indicates whether or not the Meta modifier is down on this event.

Indicates whether or not the Meta modifier is down on this event.

def shiftDown: Boolean

Indicates whether or not the Shift modifier is down on this event.

Indicates whether or not the Shift modifier is down on this event.

def touchCount: Int

Returns number of touch points represented by this touch event set. The returned number matches the size of the touchPoints list.

Returns number of touch points represented by this touch event set. The returned number matches the size of the touchPoints list.

Gets the touch point of this event.

Gets the touch point of this event.

def touchPoints: Buffer[TouchPoint]

Gets all the touch points represented by this set of touch events, including the touch point of this event. The list is unmodifiable and is sorted by their IDs, which means it is also sorted by the time they were pressed. To distinguish between touch points belonging to a node and unrelated touch points, TouchPoint's belongsTo method can be used.

Gets all the touch points represented by this set of touch events, including the touch point of this event. The list is unmodifiable and is sorted by their IDs, which means it is also sorted by the time they were pressed. To distinguish between touch points belonging to a node and unrelated touch points, TouchPoint's belongsTo method can be used.

Inherited methods

def consume(): Unit

Marks this Event as consumed. This stops its further propagation.

Marks this Event as consumed. This stops its further propagation.

Inherited from
Event
def consumed: Boolean

Indicates whether this Event has been consumed by any filter or handler.

Indicates whether this Event has been consumed by any filter or handler.

Inherited from
Event
def copyFor(newSource: AnyRef, newTarget: EventTarget): Event

Creates and returns a copy of this event with the specified event source and target.

Creates and returns a copy of this event with the specified event source and target.

Inherited from
Event
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
def eventType: EventType[_ <: Event]

Gets the event type of this event.

Gets the event type of this event.

Inherited from
Event
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
def source: Object

Returns the object on which the Event initially occurred.

Returns the object on which the Event initially occurred.

Inherited from
Event
def target: EventTarget

Returns the event target of this event.

Returns the event target of this event.

Inherited from
Event
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: TouchEvent