Package apple.uikit

Class UIContextMenuInteraction

    • Constructor Detail

      • UIContextMenuInteraction

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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)
      • locationInView

        public CGPoint locationInView​(@Nullable
                                      @Nullable UIView view)
        Returns the interaction's location within the given view.
        Parameters:
        view - The view in which to locate the interaction.
      • 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()
      • dismissMenu

        public void dismissMenu()
        Dismisses the currently presented menu (if there is one).
      • menuAppearance

        public long menuAppearance()
        Appearance of the menu this interaction has presented or is about to present. Since it may be dependent on the user's input method, the appearance is only known while the interaction is active. API-Since: 14.0
      • updateVisibleMenuWithBlock

        public void updateVisibleMenuWithBlock​(@NotNull
                                               @NotNull UIContextMenuInteraction.Block_updateVisibleMenuWithBlock block)
        Call to update the currently visible menu. This method does nothing if called before a menu is presented.
        Parameters:
        block - Called with a mutable copy of the currently visible menu. Modify and return this menu (or an entirely new one) to change the currently visible menu items. Starting in iOS 15, this block is called once for every visible submenu. For example, in the following hierarchy: *- Root Menu *- Submenu A *- Submenu B *- Submenu C If Submenu A is visible, the block is called twice (once for the Root Menu and once for Submenu A). If both A and B are visible, it's called 3 times (for the Root Menu, A, and B). API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.