Package apple.uikit

Class UIPrinter

    • Constructor Detail

      • UIPrinter

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

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

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

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

        public static 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • printerWithURL

        public static UIPrinter printerWithURL​(NSURL url)
        printerWithURL: Create a printer from its URL This method creates a new printer object from the printer's URL. A UIPrinter object is returned even if the printer is not available on the network.
      • 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()
      • URL

        public NSURL URL()
        Return the URL of the printer. This method returns the full URL of the printer which can be used in future calls to printerWithURL to access the same printer.
      • contactPrinter

        public void contactPrinter​(UIPrinter.Block_contactPrinter completionHandler)
        contactPrinter: Check if printer is reachable, and update printer information. This method checks to see if this printer is available on the network, and sets the displayName, displayLocation, supportedJobTypes, makeAndModel, supportsColor, and supportsDuplex for the printer. The operation can take up to 30 seconds.
      • displayLocation

        public java.lang.String displayLocation()
        Return a human-readable location. This method returns the printer's location. This is human-readable text that usually appears in the UI below the printer's name (such as "Front Office"). Returns nil if the printer doesn't have a location string. This property's value is undefined until contactPrinter: has been called and completed successfully.
      • displayName

        public java.lang.String displayName()
        Return a human-readable printer name. This method returns the printer name suitable for displaying in the UI.
      • makeAndModel

        public java.lang.String makeAndModel()
        Return make (manufacturer) and model of the printer. This method returns the make and model of the printer, which is usually the manufacturer, model, and model number. This property's value is undefined until contactPrinter: has been called and completed successfully.
      • supportedJobTypes

        public long supportedJobTypes()
        Returns the supported job types of this printer. This method returns a mask with all the UIPrinterJobTypes values that the printer supports. This property's value is undefined until contactPrinter: has been called and completed successfully.
      • supportsColor

        public boolean supportsColor()
        Return whether this printer supports color printing. This method returns YES if the printer supports full color printing, NO otherwise. This property's value is undefined until contactPrinter: has been called and completed successfully.
      • supportsDuplex

        public boolean supportsDuplex()
        Return whether this printer supports duplex (double-sided) printing. This method returns YES if the printer supports duplex (double-sided) printing, NO otherwise. This property's value is undefined until contactPrinter: has been called and completed successfully.