public enum ControlSizeVariant extends java.lang.Enum<ControlSizeVariant> implements StyleDefinition
Enum Constant and Description |
---|
MINI
MINI indicates a mini size of Control (based on font size 9).
|
REGULAR
REGULAR indicates a regular size of Control (based on font size 13).
|
SMALL
SMALL indicates a small size of Control (based on font size 11).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleName()
Constructs a String as name for the StyleClass.
|
static ControlSizeVariant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlSizeVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlSizeVariant REGULAR
public static final ControlSizeVariant SMALL
public static final ControlSizeVariant MINI
public static ControlSizeVariant[] values()
for (ControlSizeVariant c : ControlSizeVariant.values()) System.out.println(c);
public static ControlSizeVariant 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 nullpublic java.lang.String getStyleName()
getStyleName
in interface StyleDefinition
Copyright © 2013. All Rights Reserved.