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

public enum GridColumn.Kind

  1. Object
  2. Enum<GridColumn.Kind>
  3. GridColumn.Kind

ImplementsComparable<GridColumn.Kind>

What a column holds, which decides how it is aligned, compared and edited. AUTO decides from each value.

Enum constants

AUTODecided from the value: a Boolean is a check box, a Number is right aligned, anything else is text.
TEXTText, edited in a text field.
NUMBERA number, right aligned and edited in a numeric text field.
BOOLEANA check box, toggled in place with no editor.
DATEA java.util.Date, edited in a date picker.
CHOICEOne of getChoices(), edited in a picker.

Methods

public static GridColumn.Kind[] values()
public static GridColumn.Kind valueOf(String name)

Inherited methods

Enum constant details

AUTO

AUTO
Decided from the value: a Boolean is a check box, a Number is right aligned, anything else is text.

TEXT

TEXT
Text, edited in a text field.

NUMBER

NUMBER
A number, right aligned and edited in a numeric text field.

BOOLEAN

BOOLEAN
A check box, toggled in place with no editor.

DATE

DATE
A java.util.Date, edited in a date picker.

CHOICE

CHOICE
One of getChoices(), edited in a picker.

Method details

values

public static GridColumn.Kind[] values()

valueOf

public static GridColumn.Kind valueOf(String name)