public class TableCellEditEvent extends GuiEvent:
Result of an inline TableView cell edition.
The model has already accepted or rejected the value when this event is emitted. A rejected edition leaves the model unchanged.
table.cellEditFinished += lambda(event as TableCellEditEvent): if not event.accepted: print(event.message)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | acceptedaccepted as Boolean |
Whether the model accepted and stored the submitted value. |
| public readonly property | columncolumn as Int |
Zero-based column index of the edited cell. |
| public readonly property | messagemessage as String |
Model diagnostic when accepted is false, otherwise an empty string. |
| public readonly property | previousValuepreviousValue as String |
Value stored before the edition began. |
| public readonly property | rowrow as Int |
Zero-based row index of the edited cell. |
| public readonly property | valuevalue as String |
Value submitted by the inline editor. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TableCellEditEvent | Creates an inline-edition result. |