ScrollToEvent

class ScrollToEvent[T](val delegate: ScrollToEvent[T]) extends Event with SFXDelegate[ScrollToEvent[T]]

Wraps JavaFX ScrollToEvent.

Wraps JavaFX ScrollToEvent.

Type Params
T

scroll target type

Value Params
delegate

JavaFX ScrollToEvent

Constructor

Creates a new ScrollToEvent from its JavaFX counterpart.

Companion
object
class Event
trait SFXDelegate[ScrollToEvent[T]]
class Object
trait Matchable
class Any

Value members

Constructors

def this(source: Any, target: EventTarget, eventType: EventType[ScrollToEvent[T]], scrollTarget: T)

Construct a new Event with the specified event source, target and type.

Construct a new Event with the specified event source, target and type.

Value Params
eventType

the event type

scrollTarget

the target of the scroll to operation

source

the event source which sent the event

target

the event source which receives the event

Concrete methods

def scrollTarget: T

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: ScrollToEvent[T]