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 Gradient |
createGradient()
Creates a LINEAR gradient, with
topDown orientation and chart scope. |
default Gradient |
createGradient(GradientType type)
Creates a gradient by a type, with
chart scope. |
default Gradient |
createGradient(GradientType type,
GradientOrientation orientation)
Creates a gradient by a type and an orientation, with
chart scope. |
default Gradient |
createGradient(GradientType type,
GradientOrientation orientation,
GradientScope scope)
Creates a gradient by a type, an orientation and a scope.
|
default Gradient |
createGradient(GradientType type,
GradientScope scope)
Creates a gradient by a type and a scope.
|
default List<IsColor> |
getColors()
Returns a list of colors which are composing a color scheme.
|
ColorScheme |
getScheme()
Returns the internal enumerated scheme instance.
|
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
checkAndGetIfValid, 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 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
public Gradient createGradient()
topDown
orientation and chart
scope.public Gradient createGradient(GradientType type)
chart
scope.type
- gradient typepublic Gradient createGradient(GradientType type, GradientOrientation orientation)
chart
scope.type
- gradient typeorientation
- orientation of gradientpublic Gradient createGradient(GradientType type, GradientScope scope)
type
- gradient typescope
- scope of gradientpublic Gradient createGradient(GradientType type, GradientOrientation orientation, GradientScope scope)
type
- gradient typeorientation
- orientation of gradientscope
- scope of gradient