Class DefaultGridCellEditor
java.lang.Object
com.codename1.ui.table.DefaultGridCellEditor
- All Implemented Interfaces:
GridCellEditor
The editor a
DataGrid uses for a column that has none: a text field
for text and numbers, a date picker for dates and a picker of the
column's choices.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEditor(DataGrid grid, GridCell cell) A component that edits the cell, holding its current value.getEditorValue(Component editor, GridCell cell) The value the editor holds now.
-
Constructor Details
-
DefaultGridCellEditor
public DefaultGridCellEditor()
-
-
Method Details
-
createEditor
Description copied from interface:GridCellEditorA component that edits the cell, holding its current value.- Specified by:
createEditorin interfaceGridCellEditor
-
getEditorValue
Description copied from interface:GridCellEditorThe value the editor holds now.
Parameters
editor: whatcreateEditorreturnedcell: the cell being edited;getValue()is the value before
- Specified by:
getEditorValuein interfaceGridCellEditor
-