public enum CellRecordMode extends java.lang.Enum<CellRecordMode> implements ValueEnum
canSelectCells is true, whether getSelection() on a DataBoundComponent or individual CellSelection
should return one record per selected cell, as with CubeGrid, or one record
per row that has any selected cells, as with ListGrid.| Enum Constant and Description |
|---|
CELL
getSelection returns one record for each selected cell via
getCellRecord() |
ROW
getSelection returns distinct records for each row with one or more selected cells
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static CellRecordMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CellRecordMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellRecordMode CELL
getCellRecord()
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "cell".
public static final CellRecordMode ROW
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "row".
public static CellRecordMode[] values()
for (CellRecordMode c : CellRecordMode.values()) System.out.println(c);
public static CellRecordMode 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