public enum BottomBarSize extends Enum<BottomBarSize>
SMALL and LARGE
sizes. The EXTRA_SMALL size isn't officially in the HIG, but can be seen in use in
Safari's status bar for example.| Enum Constant and Description |
|---|
EXTRA_SMALL |
LARGE |
SMALL |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the height in pixels that this size represents.
|
static BottomBarSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BottomBarSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BottomBarSize EXTRA_SMALL
public static final BottomBarSize SMALL
public static final BottomBarSize LARGE
public static BottomBarSize[] values()
for (BottomBarSize c : BottomBarSize.values()) System.out.println(c);
public static BottomBarSize 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 int getHeight()