public enum SelectWidth extends Enum<SelectWidth>
Enum Constant and Description |
---|
AUTO
The width of the select is automatically adjusted to
accommodate the widest option.
|
FIT
Automatically adjusts the width of the select to the
width of its currently selected option.
|
NONE
All width information is removed.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the value of the select width.
|
static SelectWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectWidth AUTO
public static final SelectWidth FIT
public static final SelectWidth NONE
public static SelectWidth[] values()
for (SelectWidth c : SelectWidth.values()) System.out.println(c);
public static SelectWidth 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.