Module org.controlsfx.controls
Class SpreadsheetCellEditor.TextAreaEditor
- java.lang.Object
 - 
- org.controlsfx.control.spreadsheet.SpreadsheetCellEditor
 - 
- org.controlsfx.control.spreadsheet.SpreadsheetCellEditor.TextAreaEditor
 
 
 
- 
- Enclosing class:
 - SpreadsheetCellEditor
 
public static class SpreadsheetCellEditor.TextAreaEditor extends SpreadsheetCellEditor
ASpreadsheetCellEditorforSpreadsheetCellType.StringTypetyped cells. It displays aTextFieldwhere the user can type different values. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.controlsfx.control.spreadsheet.SpreadsheetCellEditor
SpreadsheetCellEditor.DateEditor, SpreadsheetCellEditor.DoubleEditor, SpreadsheetCellEditor.IntegerEditor, SpreadsheetCellEditor.ListEditor<R>, SpreadsheetCellEditor.ObjectEditor, SpreadsheetCellEditor.StringEditor, SpreadsheetCellEditor.TextAreaEditor 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TextAreaEditor(SpreadsheetView view)Constructor for the StringEditor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidend()This method will be called at the end of edition.
You will be offered the possibility to do the configuration post editing.StringgetControlValue()Return the value within your editor as a string.TextAreagetEditor()Return the control used for controlling the input.doublegetMaxHeight()Return the maximum height of the editor.voidstartEdit(Object value, String format, Object... options)************************************************************************* * Public Methods * * ************************************************************************- 
Methods inherited from class org.controlsfx.control.spreadsheet.SpreadsheetCellEditor
endEdit, startEdit 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TextAreaEditor
public TextAreaEditor(SpreadsheetView view)
Constructor for the StringEditor.- Parameters:
 view- The SpreadsheetView
 
 - 
 
- 
Method Detail
- 
startEdit
public void startEdit(Object value, String format, Object... options)
************************************************************************* * Public Methods * * ************************************************************************- Specified by:
 startEditin classSpreadsheetCellEditor
 
- 
getControlValue
public String getControlValue()
Description copied from class:SpreadsheetCellEditorReturn the value within your editor as a string. This will be used by theSpreadsheetCellType.convertValue(Object)in order to compute whether the value is valid regarding theSpreadsheetCellTypepolicy.- Specified by:
 getControlValuein classSpreadsheetCellEditor- Returns:
 - the value within your editor as a string.
 
 
- 
end
public void end()
Description copied from class:SpreadsheetCellEditorThis method will be called at the end of edition.
You will be offered the possibility to do the configuration post editing.- Specified by:
 endin classSpreadsheetCellEditor
 
- 
getEditor
public TextArea getEditor()
Description copied from class:SpreadsheetCellEditorReturn the control used for controlling the input. This is called at the beginning in order to display your control in the cell.- Specified by:
 getEditorin classSpreadsheetCellEditor- Returns:
 - the control used.
 
 
- 
getMaxHeight
public double getMaxHeight()
Description copied from class:SpreadsheetCellEditorReturn the maximum height of the editor.- Overrides:
 getMaxHeightin classSpreadsheetCellEditor- Returns:
 - 50 by default.
 
 
 - 
 
 -