public enum AutoFitWidthApproach extends java.lang.Enum<AutoFitWidthApproach> implements ValueEnum
ListGridField.autoFitWidth
is true?Enum Constant and Description |
---|
BOTH
Size field to fit either the field title or the data values in the field (whichever requires more space).
|
TITLE
Size field to fit the field title
|
VALUE
Size field to fit to the data value(s) contained in the field.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static AutoFitWidthApproach |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoFitWidthApproach[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoFitWidthApproach VALUE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "value".
public static final AutoFitWidthApproach TITLE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "title".
public static final AutoFitWidthApproach BOTH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "both".
public static AutoFitWidthApproach[] values()
for (AutoFitWidthApproach c : AutoFitWidthApproach.values()) System.out.println(c);
public static AutoFitWidthApproach 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