public static class SpreadsheetCellEditor.DateEditor extends SpreadsheetCellEditor
SpreadsheetCellEditor for SpreadsheetCellType.DateType
typed cells. It displays a DatePicker where the user can choose a
date through a visual calendar.SpreadsheetCellEditor.DateEditor, SpreadsheetCellEditor.DoubleEditor, SpreadsheetCellEditor.IntegerEditor, SpreadsheetCellEditor.ListEditor<R>, SpreadsheetCellEditor.ObjectEditor, SpreadsheetCellEditor.StringEditor| Constructor and Description |
|---|
DateEditor(SpreadsheetView view,
StringConverter<java.time.LocalDate> converter)
* Constructor * *
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
attachEnterEscapeEventHandler()
* Protected Methods * *
|
void |
end()
This method will be called at the end of edition.
You will be offered the possibility to do the configuration post editing. |
String |
getControlValue()
Return the value within your editor as a string.
|
DatePicker |
getEditor()
Return the control used for controlling the input.
|
void |
startEdit(Object value)
* Public Methods * *
|
endEditpublic DateEditor(SpreadsheetView view, StringConverter<java.time.LocalDate> converter)
public void startEdit(Object value)
startEdit in class SpreadsheetCellEditorpublic void end()
SpreadsheetCellEditorend in class SpreadsheetCellEditorpublic DatePicker getEditor()
SpreadsheetCellEditorgetEditor in class SpreadsheetCellEditorpublic String getControlValue()
SpreadsheetCellEditorSpreadsheetCellType.convertValue(Object) in order to compute
whether the value is valid regarding the SpreadsheetCellType
policy.getControlValue in class SpreadsheetCellEditorprotected void attachEnterEscapeEventHandler()