java.lang.Object
impl.org.controlsfx.spreadsheet.GridCellEditor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendEdit(boolean commitValue) Whenever you want to stop the edition, you call that method.
True means you're trying to commit the value, thenSpreadsheetCellType.match(java.lang.Object)will be called in order to verify that the value is correct.
False means you're trying to cancel the value and it will be follow byend().
See SpreadsheetCellEditor descriptionbooleanReturn if this editor is currently being used.voidUpdate the internalSpreadsheetCell.voidUpdate the internalCellViewvoidupdateSpreadsheetCellEditor(SpreadsheetCellEditor spreadsheetCellEditor) Update the SpreadsheetCellEditor
-
Constructor Details
-
GridCellEditor
Construct the GridCellEditor.
-
-
Method Details
-
updateDataCell
Update the internalSpreadsheetCell.- Parameters:
cell-
-
updateSpreadsheetCell
Update the internalCellView- Parameters:
cell-
-
updateSpreadsheetCellEditor
Update the SpreadsheetCellEditor- Parameters:
spreadsheetCellEditor-
-
endEdit
public void endEdit(boolean commitValue) Whenever you want to stop the edition, you call that method.
True means you're trying to commit the value, thenSpreadsheetCellType.match(java.lang.Object)will be called in order to verify that the value is correct.
False means you're trying to cancel the value and it will be follow byend().
See SpreadsheetCellEditor description- Parameters:
commitValue- true means commit, false means cancel
-
isEditing
public boolean isEditing()Return if this editor is currently being used.- Returns:
- if this editor is being used.
-
getModelCell
-