public enum SelectionAppearance extends java.lang.Enum<SelectionAppearance> implements ValueEnum
| Enum Constant and Description |
|---|
CHECKBOX an extra, non-data column should be automatically added to the ListGrid, showing checkboxes that can be toggled to select rows. |
ROW_STYLE selected rows should be shown with different appearance - see ListGrid.getCellStyle() and optionally ListGrid.selectionCanvas. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static SelectionAppearance | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static SelectionAppearance[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final SelectionAppearance ROW_STYLE
ListGrid.getCellStyle() and optionally ListGrid.selectionCanvas. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "rowStyle".
public static final SelectionAppearance CHECKBOX
ListGrid.getCheckboxField(). If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "checkbox".
public static SelectionAppearance[] values()
for (SelectionAppearance c : SelectionAppearance.values()) System.out.println(c);
public static SelectionAppearance valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null