CellEditEvent

class CellEditEvent[S, T](val delegate: CellEditEvent[S, T]) extends Event with SFXDelegate[CellEditEvent[S, T]]
Type Params
S

The TreeTableView type

T

The TreeTableColumn type

Value Params
delegate

A JavaFX CellDataFeatures to be wrapped. Its default value is a new JavaFX CellDataFeatures.

Constructor

Creates a new CellDataFeatures from a JavaFX one.

Since

8.0

Companion
object
class Event
trait SFXDelegate[CellEditEvent[S, T]]
class Object
trait Matchable
class Any

Value members

Constructors

def this(table: TreeTableView[S], pos: TreeTablePosition[S, T], eventType: EventType[CellEditEvent[S, T]], newValue: T)

Creates a new event that can be subsequently fired to the relevant listeners.

Creates a new event that can be subsequently fired to the relevant listeners.

Value Params
eventType

The type of event that occurred.

newValue

The value input by the end user.

pos

The position upon which this event occurred.

table

The TreeTableView on which this event occurred.

Concrete methods

def newValue: T

Returns the new value input by the end user.

Returns the new value input by the end user.

def oldValue: T

Attempts to return the old value at the position referred to in the TreeTablePosition returned by treeTablePosition.

Attempts to return the old value at the position referred to in the TreeTablePosition returned by treeTablePosition.

Convenience method that returns the value for the row (that is, from the TableView items list), for the row contained within the TablePosition returned in tablePosition.

Convenience method that returns the value for the row (that is, from the TableView items list), for the row contained within the TablePosition returned in tablePosition.

Returns the TreeTableColumn upon which this event occurred.

Returns the TreeTableColumn upon which this event occurred.

Returns the position upon which this event occurred.

Returns the position upon which this event occurred.

Returns the TreeTableView upon which this event occurred.

Returns the TreeTableView upon which this event occurred.

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: CellEditEvent[S, T]