- java.lang.Object
-
- java.lang.Enum<NSAboutPanelOptionKey>
-
- de.jangassen.jfa.appkit.NSAboutPanelOptionKey
-
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<NSAboutPanelOptionKey>
public enum NSAboutPanelOptionKey extends Enum<NSAboutPanelOptionKey> implements com.sun.jna.NativeMapped
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NSAboutPanelOptionApplicationIconNSAboutPanelOptionApplicationNameNSAboutPanelOptionApplicationVersionNSAboutPanelOptionCreditsNSAboutPanelOptionVersion
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectfromNative(Object nativeValue, com.sun.jna.FromNativeContext context)Class<?>nativeType()ObjecttoNative()static NSAboutPanelOptionKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static NSAboutPanelOptionKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NSAboutPanelOptionApplicationIcon
public static final NSAboutPanelOptionKey NSAboutPanelOptionApplicationIcon
-
NSAboutPanelOptionApplicationName
public static final NSAboutPanelOptionKey NSAboutPanelOptionApplicationName
-
NSAboutPanelOptionApplicationVersion
public static final NSAboutPanelOptionKey NSAboutPanelOptionApplicationVersion
-
NSAboutPanelOptionCredits
public static final NSAboutPanelOptionKey NSAboutPanelOptionCredits
-
NSAboutPanelOptionVersion
public static final NSAboutPanelOptionKey NSAboutPanelOptionVersion
-
-
Method Detail
-
values
public static NSAboutPanelOptionKey[] 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 (NSAboutPanelOptionKey c : NSAboutPanelOptionKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NSAboutPanelOptionKey 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
-
fromNative
public Object fromNative(Object nativeValue, com.sun.jna.FromNativeContext context)
- Specified by:
fromNativein interfacecom.sun.jna.NativeMapped
-
toNative
public Object toNative()
- Specified by:
toNativein interfacecom.sun.jna.NativeMapped
-
nativeType
public Class<?> nativeType()
- Specified by:
nativeTypein interfacecom.sun.jna.NativeMapped
-
-