Package apple.pdfkit

Class PDFAppearanceCharacteristics

    • Constructor Detail

      • PDFAppearanceCharacteristics

        protected PDFAppearanceCharacteristics​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • appearanceCharacteristicsKeyValues

        @NotNull
        public @NotNull NSDictionary<?,​?> appearanceCharacteristicsKeyValues()
        List all appearance characteristics properties as key-value pairs; returns a deep copy of all pairs. Helpful for debugging.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • backgroundColor

        @Nullable
        public @Nullable UIColor backgroundColor()
        The background color of the widget annotation.
      • borderColor

        @Nullable
        public @Nullable UIColor borderColor()
        The border color of the widget annotation.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • caption

        @Nullable
        public @Nullable java.lang.String caption()
        The widget annotation’s normal caption, displayed when it is not interacting with the user.
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • controlType

        public long controlType()
        For button widget annotations, need to specify the control type for PDFAppearanceCharacteristics as certain attributes, i.e. captions, are only available for certain flavors. Control type does not need to be set for text or choice widget annotations.
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • downCaption

        @Nullable
        public @Nullable java.lang.String downCaption()
        The widget's caption displayed when the user holds the mouse button while over the annotation. Applies only to kPDFWidgetPushButtonControl.
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • rolloverCaption

        @Nullable
        public @Nullable java.lang.String rolloverCaption()
        The widget's caption displayed when the user moves the mouse over the annotation. Applies only to kPDFWidgetPushButtonControl.
      • rotation

        public long rotation()
        The number of *degrees* by which the widget annotation is rotated counterclockwise relative to the page. The value must be a multiple of 90. Default value: 0.
      • setBackgroundColor

        public void setBackgroundColor​(@Nullable
                                       @Nullable UIColor value)
        The background color of the widget annotation.
      • setBorderColor

        public void setBorderColor​(@Nullable
                                   @Nullable UIColor value)
        The border color of the widget annotation.
      • setCaption

        public void setCaption​(@Nullable
                               @Nullable java.lang.String value)
        The widget annotation’s normal caption, displayed when it is not interacting with the user.
      • setControlType

        public void setControlType​(long value)
        For button widget annotations, need to specify the control type for PDFAppearanceCharacteristics as certain attributes, i.e. captions, are only available for certain flavors. Control type does not need to be set for text or choice widget annotations.
      • setDownCaption

        public void setDownCaption​(@Nullable
                                   @Nullable java.lang.String value)
        The widget's caption displayed when the user holds the mouse button while over the annotation. Applies only to kPDFWidgetPushButtonControl.
      • setRolloverCaption

        public void setRolloverCaption​(@Nullable
                                       @Nullable java.lang.String value)
        The widget's caption displayed when the user moves the mouse over the annotation. Applies only to kPDFWidgetPushButtonControl.
      • setRotation

        public void setRotation​(long value)
        The number of *degrees* by which the widget annotation is rotated counterclockwise relative to the page. The value must be a multiple of 90. Default value: 0.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.