public enum Palette extends Enum<Palette>
Brand
.Enum Constant and Description |
---|
AUTHENTICATION
A special color to use when asking for user credentials required for an
example when connecting to a database.
|
CONFIRMATION
A special color to use when asking for the users confirmation on
something.
|
ERROR
A special color to use for displaying errors to the user, often as a
result of an exception.
|
INFO
A special color to use for catching the users attention to informational
messages.
|
SUCCESS
A special color to use for catching the users attention for when a task
is completed successfully.
|
WARNING
A special color to use for warning the user when something might be
wrong.
|
Modifier and Type | Method and Description |
---|---|
static Palette |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Palette[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Palette INFO
public static final Palette SUCCESS
public static final Palette WARNING
public static final Palette ERROR
public static final Palette CONFIRMATION
public static final Palette AUTHENTICATION
public static Palette[] values()
for (Palette c : Palette.values()) System.out.println(c);
public static Palette 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 nullCopyright © 2016 Speedment, Inc.. All rights reserved.