Package org.pushingpixels.substance.api
Enum SubstanceSlices.ColorOverlayType
- java.lang.Object
-
- java.lang.Enum<SubstanceSlices.ColorOverlayType>
-
- org.pushingpixels.substance.api.SubstanceSlices.ColorOverlayType
-
- Enclosing class:
- SubstanceSlices
public static enum SubstanceSlices.ColorOverlayType extends java.lang.Enum<SubstanceSlices.ColorOverlayType>
Enumeration of available color overlay types. This class is part of officially supported API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND_FILLFOCUS_INDICATIONLINESELECTION_BACKGROUND_FILLSELECTION_FOREGROUNDTEXT_BACKGROUND_FILL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubstanceSlices.ColorOverlayTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SubstanceSlices.ColorOverlayType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE
public static final SubstanceSlices.ColorOverlayType LINE
-
FOCUS_INDICATION
public static final SubstanceSlices.ColorOverlayType FOCUS_INDICATION
-
BACKGROUND_FILL
public static final SubstanceSlices.ColorOverlayType BACKGROUND_FILL
-
TEXT_BACKGROUND_FILL
public static final SubstanceSlices.ColorOverlayType TEXT_BACKGROUND_FILL
-
SELECTION_BACKGROUND_FILL
public static final SubstanceSlices.ColorOverlayType SELECTION_BACKGROUND_FILL
-
SELECTION_FOREGROUND
public static final SubstanceSlices.ColorOverlayType SELECTION_FOREGROUND
-
-
Method Detail
-
values
public static SubstanceSlices.ColorOverlayType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubstanceSlices.ColorOverlayType c : SubstanceSlices.ColorOverlayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubstanceSlices.ColorOverlayType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-