Package apple.uikit

Class UIHoverGestureRecognizer

  • All Implemented Interfaces:
    NSObject

    public class UIHoverGestureRecognizer
    extends UIGestureRecognizer
    UIHoverGestureRecognizer On macOS or iPadOS, this gesture recognizer will begin recognition when the cursor (while no mouse buttons are pressed) enters its view, changes during movement within the view and ends when the cursor leaves said view. Note: While buttons are pressed any currently active hover gesture recognizers are effectively paused (letting other gesture recognizers work) until all mouse buttons have been released. On iOS, this gesture recognizer doesn't recognize anything and is effectively a no-op. API-Since: 13.0
    • Constructor Detail

      • UIHoverGestureRecognizer

        protected UIHoverGestureRecognizer​(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)
      • 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()
      • zOffset

        public double zOffset()
        The normalized distance from the screen of the hovering device. This value will be 1 at the maximum distance from the screen and will approach 0 as the device gets closer to the screen. Will always return 0 for devices that don't support z offset. API-Since: 16.1
      • altitudeAngle

        public double altitudeAngle()
        The altitude angle of the current device. 0 is returned for devices that don't support altitude. API-Since: 16.4
      • azimuthAngleInView

        public double azimuthAngleInView​(@Nullable
                                         @Nullable UIView view)
        The azimuth angle of the current device in the specified view, or the gesture recognizer's window if nil. 0 is returned for devices that don't support azimuth. API-Since: 16.4
      • azimuthUnitVectorInView

        public CGVector azimuthUnitVectorInView​(@Nullable
                                                @Nullable UIView view)
        The azimuth unit vector of the current device in the specified view, or the gesture recognizer's window if nil. An empty vector is returned for devices that don't support azimuth. API-Since: 16.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.