Spec-Zone .ru
спецификации, руководства, описания, API
|
public static class TableColumn.CellEditEvent<S,T> extends Event
Constructor and Description |
---|
TableColumn.CellEditEvent(TableView<S> table,
TablePosition<S,T> pos,
EventType<TableColumn.CellEditEvent> eventType,
T newValue)
Creates a new event that can be subsequently fired to the relevant listeners.
|
Modifier and Type | Method and Description |
---|---|
T |
getNewValue()
Returns the new value input by the end user.
|
T |
getOldValue()
Attempts to return the old value at the position referred to in the
TablePosition returned by
getTablePosition() . |
S |
getRowValue()
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
getTablePosition() . |
TableColumn<S,T> |
getTableColumn()
Returns the TableColumn upon which this event occurred.
|
TablePosition<S,T> |
getTablePosition()
Returns the position upon which this event occurred.
|
TableView<S> |
getTableView()
Returns the TableView upon which this event occurred.
|
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
public TableColumn.CellEditEvent(TableView<S> table, TablePosition<S,T> pos, EventType<TableColumn.CellEditEvent> eventType, T newValue)
table
- The TableView on which this event occurred.pos
- The position upon which this event occurred.eventType
- The type of event that occurred.newValue
- The value input by the end user.public TableView<S> getTableView()
public TableColumn<S,T> getTableColumn()
public TablePosition<S,T> getTablePosition()
public T getNewValue()
public T getOldValue()
getTablePosition()
. This may return
null for a number of reasons.public S getRowValue()
items
list), for the
row contained within the TablePosition
returned in
getTablePosition()
.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to