- java.lang.Object
-
- java.lang.Enum<NSAppearance.NSAppearanceName>
-
- de.jangassen.jfa.appkit.NSAppearance.NSAppearanceName
-
- All Implemented Interfaces:
Serializable,Comparable<NSAppearance.NSAppearanceName>
- Enclosing interface:
- NSAppearance
public static enum NSAppearance.NSAppearanceName extends Enum<NSAppearance.NSAppearanceName>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static NSAppearance.NSAppearanceNamevalueOf(String name)Returns the enum constant of this type with the specified name.static NSAppearance.NSAppearanceName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NSAppearanceNameAqua
public static final NSAppearance.NSAppearanceName NSAppearanceNameAqua
-
NSAppearanceNameDarkAqua
public static final NSAppearance.NSAppearanceName NSAppearanceNameDarkAqua
-
NSAppearanceNameVibrantLight
public static final NSAppearance.NSAppearanceName NSAppearanceNameVibrantLight
-
NSAppearanceNameVibrantDark
public static final NSAppearance.NSAppearanceName NSAppearanceNameVibrantDark
-
NSAppearanceNameAccessibilityHighContrastAqua
public static final NSAppearance.NSAppearanceName NSAppearanceNameAccessibilityHighContrastAqua
-
NSAppearanceNameAccessibilityHighContrastDarkAqua
public static final NSAppearance.NSAppearanceName NSAppearanceNameAccessibilityHighContrastDarkAqua
-
NSAppearanceNameAccessibilityHighContrastVibrantLight
public static final NSAppearance.NSAppearanceName NSAppearanceNameAccessibilityHighContrastVibrantLight
-
NSAppearanceNameAccessibilityHighContrastVibrantDark
public static final NSAppearance.NSAppearanceName NSAppearanceNameAccessibilityHighContrastVibrantDark
-
-
Method Detail
-
values
public static NSAppearance.NSAppearanceName[] 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 (NSAppearance.NSAppearanceName c : NSAppearance.NSAppearanceName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NSAppearance.NSAppearanceName 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
-
getName
public String getName()
-
-