public enum DefaultBootstrapBrand extends java.lang.Enum<DefaultBootstrapBrand> implements BootstrapBrand
Enum Constant and Description |
---|
DANGER |
INFO |
PRIMARY |
REGULAR |
SECONDARY |
SUCCESS |
WARNING |
KEY
Modifier and Type | Method and Description |
---|---|
int |
activeEdge(Context context)
Retrieves the color that should be used for the active border state
|
int |
activeFill(Context context)
Retrieves the color that should be used for the active fill state
|
int |
activeTextColor(Context context)
Retrieves the text color that should be used for the active state
|
int |
defaultEdge(Context context)
Retrieves the color that should be used for the default border state
|
int |
defaultFill(Context context)
Retrieves the color that should be used for the default fill state
|
int |
defaultTextColor(Context context)
Retrieves the text color that should be used for the default state
|
int |
disabledEdge(Context context)
Retrieves the color that should be used for the disabled border state
|
int |
disabledFill(Context context)
Retrieves the color that should be used for the disabled fill state
|
int |
disabledTextColor(Context context)
Retrieves the text color that should be used for the disabled state
|
static DefaultBootstrapBrand |
fromAttributeValue(int attrValue) |
static DefaultBootstrapBrand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultBootstrapBrand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultBootstrapBrand PRIMARY
public static final DefaultBootstrapBrand SUCCESS
public static final DefaultBootstrapBrand INFO
public static final DefaultBootstrapBrand WARNING
public static final DefaultBootstrapBrand DANGER
public static final DefaultBootstrapBrand SECONDARY
public static final DefaultBootstrapBrand REGULAR
public static DefaultBootstrapBrand[] values()
for (DefaultBootstrapBrand c : DefaultBootstrapBrand.values()) System.out.println(c);
public static DefaultBootstrapBrand 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 static DefaultBootstrapBrand fromAttributeValue(int attrValue)
public int defaultFill(Context context)
BootstrapBrand
defaultFill
in interface BootstrapBrand
context
- the current contextpublic int defaultEdge(Context context)
BootstrapBrand
defaultEdge
in interface BootstrapBrand
context
- the current contextpublic int activeFill(Context context)
BootstrapBrand
activeFill
in interface BootstrapBrand
context
- the current contextpublic int activeEdge(Context context)
BootstrapBrand
activeEdge
in interface BootstrapBrand
context
- the current contextpublic int disabledFill(Context context)
BootstrapBrand
disabledFill
in interface BootstrapBrand
context
- the current contextpublic int disabledEdge(Context context)
BootstrapBrand
disabledEdge
in interface BootstrapBrand
context
- the current contextpublic int defaultTextColor(Context context)
BootstrapBrand
defaultTextColor
in interface BootstrapBrand
context
- the current contextpublic int activeTextColor(Context context)
BootstrapBrand
activeTextColor
in interface BootstrapBrand
context
- the current contextpublic int disabledTextColor(Context context)
BootstrapBrand
disabledTextColor
in interface BootstrapBrand
context
- the current context