EventDispatcher

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.

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 JavaFX EventDispatcher.

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

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 Params
event

the event do dispatch

tail

the rest of the chain to dispatch event to

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
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: EventDispatcher