public enum DefaultSampleRecord extends java.lang.Enum<DefaultSampleRecord> implements ValueEnum
FieldPicker and HiliteEditor widgets, can use data from an associated DataBoundComponent to express live sample values at runtime.| Enum Constant and Description |
|---|
FIRST Uses the first record in the DataBoundComponent as sample data |
FIRSTOPENLEAF Uses the first open leaf-node in the DataBoundComponent as sample data |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static DefaultSampleRecord | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static DefaultSampleRecord[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final DefaultSampleRecord FIRST
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "first".
public static final DefaultSampleRecord FIRSTOPENLEAF
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "firstOpenLeaf".
public static DefaultSampleRecord[] values()
for (DefaultSampleRecord c : DefaultSampleRecord.values()) System.out.println(c);
public static DefaultSampleRecord 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