Enum RadianceThemingSlices.IconFilterStrategy
- java.lang.Object
-
- java.lang.Enum<RadianceThemingSlices.IconFilterStrategy>
-
- org.pushingpixels.radiance.theming.api.RadianceThemingSlices.IconFilterStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RadianceThemingSlices.IconFilterStrategy>
- Enclosing class:
- RadianceThemingSlices
public static enum RadianceThemingSlices.IconFilterStrategy extends java.lang.Enum<RadianceThemingSlices.IconFilterStrategy>
Enumerates available icon filter strategies.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ORIGINAL
The icon is always painted in its original appearance.THEMED_FOLLOW_COLOR_SCHEME
The icon is themed based on the color scheme that matches the current component state.THEMED_FOLLOW_TEXT
The icon is themed based on the current text color.
-
Constructor Summary
Constructors Modifier Constructor Description private
IconFilterStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RadianceThemingSlices.IconFilterStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RadianceThemingSlices.IconFilterStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ORIGINAL
public static final RadianceThemingSlices.IconFilterStrategy ORIGINAL
The icon is always painted in its original appearance.
-
THEMED_FOLLOW_TEXT
public static final RadianceThemingSlices.IconFilterStrategy THEMED_FOLLOW_TEXT
The icon is themed based on the current text color.
-
THEMED_FOLLOW_COLOR_SCHEME
public static final RadianceThemingSlices.IconFilterStrategy THEMED_FOLLOW_COLOR_SCHEME
The icon is themed based on the color scheme that matches the current component state.
-
-
Method Detail
-
values
public static RadianceThemingSlices.IconFilterStrategy[] 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 (RadianceThemingSlices.IconFilterStrategy c : RadianceThemingSlices.IconFilterStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RadianceThemingSlices.IconFilterStrategy 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
-
-