Package apple.uikit

Class UIPrintFormatter

    • Constructor Detail

      • UIPrintFormatter

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIPrintFormatter allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • 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)
      • classFallbacksForKeyedArchiver

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

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

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

        public static java.lang.String description_static()
      • 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)
      • 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()
      • contentInsets

        @Deprecated
        public UIEdgeInsets contentInsets()
        Deprecated.
        API-Since: 4.2 Deprecated-Since: 10.0
      • copyWithZone

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

        public void drawInRectForPageAtIndex​(CGRect rect,
                                             long pageIndex)
        override point to add custom drawing
      • maximumContentHeight

        public double maximumContentHeight()
        default is 0.0. limits content to width
      • maximumContentWidth

        public double maximumContentWidth()
        default is 0.0. limits content to height
      • pageCount

        public long pageCount()
        calculated
      • perPageContentInsets

        public UIEdgeInsets perPageContentInsets()
        default is UIEdgeInsetsZero from edge of the page. applies to content on each page (each edge applies to each page)
      • printPageRenderer

        @Nullable
        public @Nullable UIPrintPageRenderer printPageRenderer()
        default is nil. set when formatter added to a print page renderer
      • rectForPageAtIndex

        public CGRect rectForPageAtIndex​(long pageIndex)
        returns empty rect if index out of range
      • removeFromPrintPageRenderer

        public void removeFromPrintPageRenderer()
      • setContentInsets

        @Deprecated
        public void setContentInsets​(UIEdgeInsets value)
        Deprecated.
        API-Since: 4.2 Deprecated-Since: 10.0
      • setMaximumContentHeight

        public void setMaximumContentHeight​(double value)
        default is 0.0. limits content to width
      • setMaximumContentWidth

        public void setMaximumContentWidth​(double value)
        default is 0.0. limits content to height
      • setPerPageContentInsets

        public void setPerPageContentInsets​(UIEdgeInsets value)
        default is UIEdgeInsetsZero from edge of the page. applies to content on each page (each edge applies to each page)
      • setStartPage

        public void setStartPage​(long value)
        default is NSNotFound
      • startPage

        public long startPage()
        default is NSNotFound
      • requiresMainThread

        public boolean requiresMainThread()
        override point to decide if the drawing and page count calculation for each UIPrintFormatter are required to be called on the main thread; the default value is YES. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.