DragEvent

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

Value members

Concrete methods

def acceptTransferModes(transferModes: TransferMode*): Unit

Accepts this DragEvent, choosing the transfer mode for the drop operation.

Accepts this DragEvent, choosing the transfer mode for the drop operation.

def acceptTransferModes(transferModes: Array[TransferMode]): Unit

Accepts this DragEvent, choosing the transfer mode for the drop operation.

Accepts this DragEvent, choosing the transfer mode for the drop operation.

def accepted: Boolean

Indicates if this event has been accepted.

Indicates if this event has been accepted.

Gets transfer mode accepted by potential target.

Gets transfer mode accepted by potential target.

A dragboard that is available to transfer data.

A dragboard that is available to transfer data.

def dropCompleted: Boolean

Whether setDropCompleted(true) has been called on this event.

Whether setDropCompleted(true) has been called on this event.

def dropCompleted_=(isTransferDone: Boolean): Unit

Indicates that transfer handling of this DragEvent was completed successfully during a DRAG_DROPPED event handler.

Indicates that transfer handling of this DragEvent was completed successfully during a DRAG_DROPPED event handler.

def gestureSource: Object

The source object of the drag and drop gesture.

The source object of the drag and drop gesture.

def gestureTarget: Object

The target object of the drag and drop gesture.

The target object of the drag and drop gesture.

def sceneX: Double

Returns horizontal position of the event relative to the origin of the Scene that contains the DragEvent's source.

Returns horizontal position of the event relative to the origin of the Scene that contains the DragEvent's source.

def sceneY: Double

Returns vertical position of the event relative to the origin of the Scene that contains the DragEvent's source.

Returns vertical position of the event relative to the origin of the Scene that contains the DragEvent's source.

def screenX: Double

Returns absolute horizontal position of the event.

Returns absolute horizontal position of the event.

def screenY: Double

Returns absolute vertical position of the event.

Returns absolute vertical position of the event.

Data transfer mode.

Data transfer mode.

def x: Double

Horizontal position of the event relative to the origin of the DragEvent's source.

Horizontal position of the event relative to the origin of the DragEvent's source.

def y: Double

Vertical position of the event relative to the origin of the DragEvent's source.

Vertical position of the event relative to the origin of the DragEvent's source.

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: DragEvent