Package apple.uikit

Class UIDragItem

  • All Implemented Interfaces:
    NSObject

    public class UIDragItem
    extends NSObject
    API-Since: 11.0
    • Constructor Detail

      • UIDragItem

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static UIDragItem 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)
      • itemProvider

        @NotNull
        public @NotNull NSItemProvider itemProvider()
      • keyPathsForValuesAffectingValueForKey

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

        @Nullable
        public @Nullable java.lang.Object localObject()
        Use `localObject` to attach additional information to this drag item, visible only inside the app that started the drag.
      • previewProvider

        @Nullable
        public @Nullable UIDragItem.Block_previewProvider_ret previewProvider()
        Use `previewProvider` to change the preview for an item. Each item is usually given a preview when the drag begins, either by the UIDragInteractionDelegate's `-dragInteraction:previewForLiftingItem:session:` method, or by creating a preview from the dragging view. During the drag, applications may attempt to change the item's preview, by setting `previewProvider` to a block that returns a preview. It will be called when and if the system requests it. To use the default preview, set `previewProvider` to nil. To hide the preview, set `previewProvider` to a block that returns nil.
      • resolveClassMethod

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

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

        public void setLocalObject​(@Nullable
                                   @Nullable java.lang.Object value)
        Use `localObject` to attach additional information to this drag item, visible only inside the app that started the drag.
      • setPreviewProvider

        public void setPreviewProvider​(@Nullable
                                       @Nullable UIDragItem.Block_setPreviewProvider value)
        Use `previewProvider` to change the preview for an item. Each item is usually given a preview when the drag begins, either by the UIDragInteractionDelegate's `-dragInteraction:previewForLiftingItem:session:` method, or by creating a preview from the dragging view. During the drag, applications may attempt to change the item's preview, by setting `previewProvider` to a block that returns a preview. It will be called when and if the system requests it. To use the default preview, set `previewProvider` to nil. To hide the preview, set `previewProvider` to a block that returns nil.
      • 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.