Type definition of the key handler function.
Requests a commit of an edit operation.
Requests a commit of an edit operation. This method is called when an edit operation is complete, and the text entered by the user has to be written into the underlying data model. The modified content of the cell is passed as string.
the new text content of this cell
a flag whether the focus was lost
Returns the current value of this cell as a string.
Returns the current value of this cell as a string. Concrete sub classes have to provide a suitable string representation of their current content.
a string for the current value of this cell
Cancels the current edit operation.
Cancels the current edit operation. The cell is restored with the original content.
Returns a key handler function for processing user input in the edit text field.
Returns a key handler function for processing user input in the edit text field. This function can process specific key codes (e.g. ENTER or ESC) and react accordingly. This base implementation handles events for committing and canceling the current edit operation.
the function for handling user input in the edit field
Triggers a commit operation.
Triggers a commit operation. This method is called when the user wants to complete an edit operation. It ensures that the updated cell data is written back into the underlying table model.
a flag whether the commit is caused by a lost focus
Notifies this object that the user wants to edit this cell.
Notifies this object that the user wants to edit this cell. The cell is updated correspondingly, the text field serving as cell editor is created if necessary and initialized.
Sets the content to be displayed in this cell.
Sets the content to be displayed in this cell.
the current data item
a flag whether this cell is empty
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
A trait providing functionality for editable cells.
This trait can be mixed into custom implementations of JavaFX cells, e.g. for trees or tables. It implements the major part of the functionality for making the cell editable. This includes providing a text field acting as editor control. The text field is accordingly configured to react on typical key events for committing or canceling the edit operation.
A concrete sub class has to implement a method for persisting a successful edit operation and a method which returns a string representing the current content of the cell.
It is also possible to enhance the functionality for reacting on keys in the edit text field. For this purpose a partial function can be returned by the editKeyHandler() method.
the type of the content of the cell