- java.lang.Object
-
- java.lang.Enum<NSAttributedStringKey>
-
- de.jangassen.jfa.appkit.NSAttributedStringKey
-
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<NSAttributedStringKey>
public enum NSAttributedStringKey extends Enum<NSAttributedStringKey> implements com.sun.jna.NativeMapped
-
-
Enum Constant Summary
-
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 NSAttributedStringKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static NSAttributedStringKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NSFontAttributeName
public static final NSAttributedStringKey NSFontAttributeName
-
NSParagraphStyleAttributeName
public static final NSAttributedStringKey NSParagraphStyleAttributeName
-
NSForegroundColorAttributeName
public static final NSAttributedStringKey NSForegroundColorAttributeName
-
NSBackgroundColorAttributeName
public static final NSAttributedStringKey NSBackgroundColorAttributeName
-
NSLigatureAttributeName
public static final NSAttributedStringKey NSLigatureAttributeName
-
NSKernAttributeName
public static final NSAttributedStringKey NSKernAttributeName
-
NSTrackingAttributeName
public static final NSAttributedStringKey NSTrackingAttributeName
-
NSStrikethroughStyleAttributeName
public static final NSAttributedStringKey NSStrikethroughStyleAttributeName
-
NSUnderlineStyleAttributeName
public static final NSAttributedStringKey NSUnderlineStyleAttributeName
-
NSStrokeColorAttributeName
public static final NSAttributedStringKey NSStrokeColorAttributeName
-
NSStrokeWidthAttributeName
public static final NSAttributedStringKey NSStrokeWidthAttributeName
-
NSShadowAttributeName
public static final NSAttributedStringKey NSShadowAttributeName
-
NSTextEffectAttributeName
public static final NSAttributedStringKey NSTextEffectAttributeName
-
NSAttachmentAttributeName
public static final NSAttributedStringKey NSAttachmentAttributeName
-
NSLinkAttributeName
public static final NSAttributedStringKey NSLinkAttributeName
-
NSBaselineOffsetAttributeName
public static final NSAttributedStringKey NSBaselineOffsetAttributeName
-
NSUnderlineColorAttributeName
public static final NSAttributedStringKey NSUnderlineColorAttributeName
-
NSStrikethroughColorAttributeName
public static final NSAttributedStringKey NSStrikethroughColorAttributeName
-
NSObliquenessAttributeName
public static final NSAttributedStringKey NSObliquenessAttributeName
-
NSExpansionAttributeName
public static final NSAttributedStringKey NSExpansionAttributeName
-
NSWritingDirectionAttributeName
public static final NSAttributedStringKey NSWritingDirectionAttributeName
-
NSVerticalGlyphFormAttributeName
public static final NSAttributedStringKey NSVerticalGlyphFormAttributeName
-
NSCursorAttributeName
public static final NSAttributedStringKey NSCursorAttributeName
-
NSToolTipAttributeName
public static final NSAttributedStringKey NSToolTipAttributeName
-
NSMarkedClauseSegmentAttributeName
public static final NSAttributedStringKey NSMarkedClauseSegmentAttributeName
-
NSTextAlternativesAttributeName
public static final NSAttributedStringKey NSTextAlternativesAttributeName
-
NSSpellingStateAttributeName
public static final NSAttributedStringKey NSSpellingStateAttributeName
-
NSSuperscriptAttributeName
public static final NSAttributedStringKey NSSuperscriptAttributeName
-
NSGlyphInfoAttributeName
public static final NSAttributedStringKey NSGlyphInfoAttributeName
-
-
Method Detail
-
values
public static NSAttributedStringKey[] 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 (NSAttributedStringKey c : NSAttributedStringKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NSAttributedStringKey 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
-
-