EventDispatcher

scalafx.event.EventDispatcher
See theEventDispatcher companion object
abstract class EventDispatcher(val delegate: EventDispatcher) extends SFXDelegate[EventDispatcher]

An represents an event dispatching and processing entity. It is used when an needs to be dispatched to the associated EventTarget through the EventDispatchChain specified by the target. Each in the chain can influence the event path and the event itself. One can appear in multiple chains.

Wraps a $JFX $URL0 $FC]].

Attributes

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

Members list

Value members

Concrete methods

Dispatches the specified event by this . Does any required event processing. Both the event and its further path can be modified in this method. If the event is not handled / consumed during the capturing phase, it should be dispatched to the rest of the chain ().

Dispatches the specified event by this . Does any required event processing. Both the event and its further path can be modified in this method. If the event is not handled / consumed during the capturing phase, it should be dispatched to the rest of the chain ().

Value parameters

event

the event do dispatch

tail

the rest of the chain to dispatch event to

Attributes

Returns

the return event or if the event has been handled / consumed

See also

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes