public static enum Color.Intensity extends Enum<Color.Intensity>
Modifier and Type | Method and Description |
---|---|
int |
getValue(Color.Type type) |
static Color.Intensity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Color.Intensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Color.Intensity NORMAL
public static final Color.Intensity BRIGHT
public static Color.Intensity[] values()
for (Color.Intensity c : Color.Intensity.values()) System.out.println(c);
public static Color.Intensity 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 int getValue(Color.Type type)
Copyright © 2019 JBoss, a division of Red Hat, Inc.. All Rights Reserved.