public enum SelectedTextFormat extends Enum<SelectedTextFormat>
Enum Constant and Description |
---|
COUNT
If one item is selected, then the option value is shown.
|
STATIC
Always show the select title (placeholder), regardless of selection
|
VALUES
A comma delimited list of selected values (default)
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Returns the basic format.
|
String |
getFormat(int minCount)
Returns
count > x if the format is
COUNT , or the basic format otherwise. |
static SelectedTextFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectedTextFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectedTextFormat VALUES
public static final SelectedTextFormat STATIC
public static final SelectedTextFormat COUNT
# items selected
public static SelectedTextFormat[] values()
for (SelectedTextFormat c : SelectedTextFormat.values()) System.out.println(c);
public static SelectedTextFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.