public enum BadgeColor extends Enum<BadgeColor>
| Enum Constant and Description |
|---|
CONTRAST |
CONTRAST_PRIMARY |
ERROR |
ERROR_PRIMARY |
NORMAL |
NORMAL_PRIMARY |
SUCCESS |
SUCCESS_PRIMARY |
| Modifier and Type | Method and Description |
|---|---|
String |
getThemeName() |
static BadgeColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BadgeColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BadgeColor NORMAL
public static final BadgeColor NORMAL_PRIMARY
public static final BadgeColor SUCCESS
public static final BadgeColor SUCCESS_PRIMARY
public static final BadgeColor ERROR
public static final BadgeColor ERROR_PRIMARY
public static final BadgeColor CONTRAST
public static final BadgeColor CONTRAST_PRIMARY
public static BadgeColor[] values()
for (BadgeColor c : BadgeColor.values()) System.out.println(c);
public static BadgeColor 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 getThemeName()
Copyright © 2021. All rights reserved.