Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public class DefaultGridCellEditor

  1. Object
  2. DefaultGridCellEditor

ImplementsGridCellEditor

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.

Constructors

public DefaultGridCellEditor()

Methods

public Component createEditor(DataGrid grid, GridCell cell)A component that edits the cell, holding its current value.
public Object getEditorValue(Component editor, GridCell cell)The value the editor holds now.

Inherited methods

Constructor details

DefaultGridCellEditor

public DefaultGridCellEditor()

Method details

createEditor

public Component createEditor(DataGrid grid, GridCell cell)
A component that edits the cell, holding its current value.

getEditorValue

public Object getEditorValue(Component editor, GridCell cell)
The value the editor holds now.

Parameters

editor Component
what createEditor returned
cell GridCell
the cell being edited; getValue() is the value before