Enum GridColumn.Kind
- All Implemented Interfaces:
Comparable<GridColumn.Kind>
- Enclosing class:
GridColumn
What a column holds, which decides how it is aligned, compared and
edited.
AUTO decides from each value.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDecided from the value: aBooleanis a check box, aNumberis right aligned, anything else is text.A check box, toggled in place with no editor.One ofgetChoices(), edited in a picker.Ajava.util.Date, edited in a date picker.A number, right aligned and edited in a numeric text field.Text, edited in a text field. -
Method Summary
Modifier and TypeMethodDescriptionstatic GridColumn.KindReturns the enum constant of this type with the specified name.static GridColumn.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
AUTO
Decided from the value: aBooleanis a check box, aNumberis 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
Ajava.util.Date, edited in a date picker. -
CHOICE
One ofgetChoices(), edited in a picker.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-