public static class SpreadsheetCellEditor.ObjectEditor extends SpreadsheetCellEditor
SpreadsheetCellEditor for
SpreadsheetCellType.ObjectType typed cells. It displays a
TextField where the user can type different values.SpreadsheetCellEditor.DateEditor, SpreadsheetCellEditor.DoubleEditor, SpreadsheetCellEditor.IntegerEditor, SpreadsheetCellEditor.ListEditor<R>, SpreadsheetCellEditor.ObjectEditor, SpreadsheetCellEditor.StringEditor, SpreadsheetCellEditor.TextAreaEditor| Constructor and Description |
|---|
ObjectEditor(SpreadsheetView view)
Constructor for the ObjectEditor..
|
| Modifier and Type | Method and Description |
|---|---|
void |
end()
This method will be called at the end of edition.
You will be offered the possibility to do the configuration post editing. |
java.lang.String |
getControlValue()
Return the value within your editor as a string.
|
javafx.scene.control.TextField |
getEditor()
Return the control used for controlling the input.
|
void |
startEdit(java.lang.Object value,
java.lang.String format,
java.lang.Object... options)
* Public Methods * *
|
endEdit, getMaxHeight, startEditpublic ObjectEditor(SpreadsheetView view)
view - The SpreadsheetViewpublic void startEdit(java.lang.Object value,
java.lang.String format,
java.lang.Object... options)
startEdit in class SpreadsheetCellEditorpublic java.lang.String getControlValue()
SpreadsheetCellEditorSpreadsheetCellType.convertValue(Object) in order to compute
whether the value is valid regarding the SpreadsheetCellType
policy.getControlValue in class SpreadsheetCellEditorpublic void end()
SpreadsheetCellEditorend in class SpreadsheetCellEditorpublic javafx.scene.control.TextField getEditor()
SpreadsheetCellEditorgetEditor in class SpreadsheetCellEditor