TouchPoint

scalafx.scene.input.TouchPoint
See theTouchPoint companion object
class TouchPoint(val delegate: TouchPoint) extends SFXDelegate[TouchPoint]

Attributes

Companion
object
Graph
Supertypes
trait SFXDelegate[TouchPoint]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def belongsTo(target: EventTarget): Boolean

Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.

Distinguishes between touch points targeted to the given node or some of its children from touch points targeted somewhere else.

Attributes

def grab(): Unit

Grabs this touch point by current event source.

Grabs this touch point by current event source.

Attributes

def grab(target: EventTarget): Unit

Grabs this touch point by the given target.

Grabs this touch point by the given target.

Attributes

Gets event target which has grabbed this touch point.

Gets event target which has grabbed this touch point.

Attributes

def id: Int

Gets identifier of this touch point.

Gets identifier of this touch point.

Attributes

def sceneX: Double

Gets the horizontal position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Gets the horizontal position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Attributes

def sceneY: Double

Gets the vertical position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Gets the vertical position of the touch point relative to the origin of the Scene that contains the TouchEvent's source.

Attributes

Gets the absolute horizontal position of the touch point.

Gets the absolute horizontal position of the touch point.

Attributes

Gets the absolute vertical position of the touch point.

Gets the absolute vertical position of the touch point.

Attributes

def state: State

Gets state of this touch point

Gets state of this touch point

Attributes

Gets event target on which the touch event carrying this touch point is fired.

Gets event target on which the touch event carrying this touch point is fired.

Attributes

def ungrab(): Unit

Attributes

def x: Double

Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.

Gets the horizontal position of the touch point relative to the origin of the TouchEvent's source.

Attributes

def y: Double

Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.

Gets the vertical position of the touch point relative to the origin of the TouchEvent's source.

Attributes

Inherited methods

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: TouchPoint

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes