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