Enum SubstanceIconFactory.IconKind
- java.lang.Object
-
- java.lang.Enum<SubstanceIconFactory.IconKind>
-
- org.pushingpixels.substance.internal.utils.icon.SubstanceIconFactory.IconKind
-
- All Implemented Interfaces:
Serializable
,Comparable<SubstanceIconFactory.IconKind>
- Enclosing class:
- SubstanceIconFactory
public static enum SubstanceIconFactory.IconKind extends Enum<SubstanceIconFactory.IconKind>
Icon kind of a title pane button.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubstanceIconFactory.IconKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubstanceIconFactory.IconKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOSE
public static final SubstanceIconFactory.IconKind CLOSE
Icon of a close button.
-
MINIMIZE
public static final SubstanceIconFactory.IconKind MINIMIZE
Icon of a minimize button.
-
MAXIMIZE
public static final SubstanceIconFactory.IconKind MAXIMIZE
Icon of a maximize button.
-
RESTORE
public static final SubstanceIconFactory.IconKind RESTORE
Icon of a restore button.
-
-
Method Detail
-
values
public static SubstanceIconFactory.IconKind[] 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 (SubstanceIconFactory.IconKind c : SubstanceIconFactory.IconKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubstanceIconFactory.IconKind valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-