EditEvent

scalafx.scene.control.ListView.EditEvent
See theEditEvent companion object
class EditEvent[T](val delegate: EditEvent[T]) extends Event, SFXDelegate[EditEvent[T]]

Attributes

Companion
object
Graph
Supertypes
class Event
trait SFXDelegate[EditEvent[T]]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(source: ListView[T], eventType: EventType[_ <: EditEvent[T]], newValue: T, editIndex: Int)

Creates a new EditEvent instance to represent an edit event. This event is used for ListView.EDIT_START_EVENT, ListView.EDIT_COMMIT_EVENT and ListView.EDIT_CANCEL_EVENT types.

Creates a new EditEvent instance to represent an edit event. This event is used for ListView.EDIT_START_EVENT, ListView.EDIT_COMMIT_EVENT and ListView.EDIT_CANCEL_EVENT types.

Attributes

Concrete methods

def index: Int

Returns the index in which the edit took place.

Returns the index in which the edit took place.

Attributes

def newValue: T

Returns the value of the new input provided by the end user.

Returns the value of the new input provided by the end user.

Attributes

override def source: ListView[T]

Returns the ListView upon which the edit took place.

Returns the ListView upon which the edit took place.

Attributes

Definition Classes

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.

Attributes

Inherited from:
Event

Indicates whether this Event has been consumed by any filter or handler.

Indicates whether this Event has been consumed by any filter or handler.

Attributes

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.

Attributes

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 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
def eventType: EventType[_ <: Event]

Gets the event type of this event.

Gets the event type of this event.

Attributes

Inherited from:
Event
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
def target: EventTarget

Returns the event target of this event.

Returns the event target of this event.

Attributes

Inherited from:
Event
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: EditEvent[T]

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes