Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public enum GridColumn.Kind
- Object
- Enum<GridColumn.Kind>
- 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
AUTO | Decided from the value: a Boolean is a check box, a Number is right aligned, anything else is text. |
TEXT | Text, edited in a text field. |
NUMBER | A number, right aligned and edited in a numeric text field. |
BOOLEAN | A check box, toggled in place with no editor. |
DATE | A java.util.Date, edited in a date picker. |
CHOICE | One 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
AUTODecided from the value: a
Boolean is a check box, a Number
is right aligned, anything else is text.TEXT
TEXTText, edited in a text field.
NUMBER
NUMBERA number, right aligned and edited in a numeric text field.
BOOLEAN
BOOLEANA check box, toggled in place with no editor.
DATE
DATEA
java.util.Date, edited in a date picker.CHOICE
CHOICEOne of
getChoices(), edited in a picker.Method details
values
public static GridColumn.Kind[] values()valueOf
public static GridColumn.Kind valueOf(String name)