public enum FormType extends Enum<FormType> implements Type, Style.HasCssName
Enum Constant and Description |
---|
DEFAULT |
HORIZONTAL |
INLINE |
Modifier and Type | Method and Description |
---|---|
static FormType |
fromStyleName(String styleName) |
String |
getCssName() |
static FormType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormType HORIZONTAL
public static FormType[] values()
for (FormType c : FormType.values()) System.out.println(c);
public static FormType 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 nullpublic String getCssName()
getCssName
in interface Style.HasCssName
public static FormType fromStyleName(String styleName)
Copyright © 2017. All rights reserved.