public static class SpreadsheetCellEditor.TextAreaEditor extends SpreadsheetCellEditor
SpreadsheetCellEditor for
SpreadsheetCellType.StringType 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 |
|---|
TextAreaEditor(SpreadsheetView view)
Constructor for the StringEditor.
|
| 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.TextArea |
getEditor()
Return the control used for controlling the input.
|
double |
getMaxHeight()
Return the maximum height of the editor.
|
void |
startEdit(java.lang.Object value,
java.lang.String format,
java.lang.Object... options)
*************************************************************************
* Public Methods * *
************************************************************************
|
endEdit, startEditpublic TextAreaEditor(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.TextArea getEditor()
SpreadsheetCellEditorgetEditor in class SpreadsheetCellEditorpublic double getMaxHeight()
SpreadsheetCellEditorgetMaxHeight in class SpreadsheetCellEditor