public enum GwtMaterialScheme extends Enum<GwtMaterialScheme>
ColorSchemes.ID
plugin, where category is "gwtmaterial".Enum Constant and Description |
---|
AMBER
Color scheme name "AMBER" -
|
BLUE
Color scheme name "BLUE" -
|
BROWN
Color scheme name "BROWN" -
|
CYAN
Color scheme name "CYAN" -
|
GREEN
Color scheme name "GREEN" -
|
GREY
Color scheme name "GREY" -
|
INDIGO
Color scheme name "INDIGO" -
|
LIME
Color scheme name "LIME" -
|
ORANGE
Color scheme name "ORANGE" -
|
PINK
Color scheme name "PINK" -
|
PURPLE
Color scheme name "PURPLE" -
|
RED
Color scheme name "RED" -
|
TEAL
Color scheme name "TEAL" -
|
YELLOW
Color scheme name "YELLOW" -
|
Modifier and Type | Method and Description |
---|---|
default String |
category()
Returns the color scheme category.
|
default List<IsColor> |
getColors()
Returns a list of colors which are composing a color scheme.
|
ColorScheme |
getScheme()
Returns the internal enumerated scheme instance.
|
void |
loadGradient(Gradient gradient)
Loads a gradient with the scheme of colors, setting the offset proportionally.
|
default String |
value()
Returns the name value of property
|
static GwtMaterialScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GwtMaterialScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isValid
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final GwtMaterialScheme BLUE
public static final GwtMaterialScheme PURPLE
public static final GwtMaterialScheme GREEN
public static final GwtMaterialScheme INDIGO
public static final GwtMaterialScheme RED
public static final GwtMaterialScheme PINK
public static final GwtMaterialScheme AMBER
public static final GwtMaterialScheme LIME
public static final GwtMaterialScheme TEAL
public static final GwtMaterialScheme YELLOW
public static final GwtMaterialScheme CYAN
public static final GwtMaterialScheme BROWN
public static final GwtMaterialScheme GREY
public static final GwtMaterialScheme ORANGE
public static GwtMaterialScheme[] values()
for (GwtMaterialScheme c : GwtMaterialScheme.values()) System.out.println(c);
public static GwtMaterialScheme 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 ColorScheme getScheme()
public void loadGradient(Gradient gradient)
gradient
- gradient instance to be loaded with colorspublic String value()
Key
public String category()
ColorScheme
ColorSchemesOptions.DEFAULT_SCHEME_CATEGORY
.category
in interface ColorScheme
ColorSchemesOptions.DEFAULT_SCHEME_CATEGORY
public List<IsColor> getColors()
ColorScheme
getColors
in interface ColorScheme