Package apple.uikit

Class UILongPressGestureRecognizer

  • All Implemented Interfaces:
    NSObject

    public class UILongPressGestureRecognizer
    extends UIGestureRecognizer
    Begins: when numberOfTouchesRequired have tapped numberOfTapsRequired times and been held for minumPressDuration Changes: when a finger moves Ends: when a finger is lifted
    • Constructor Detail

      • UILongPressGestureRecognizer

        protected UILongPressGestureRecognizer​(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()
      • 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()
      • allowableMovement

        public double allowableMovement()
        Default is 10. Maximum movement in pixels allowed before the gesture fails. Once recognized (after minimumPressDuration) there is no limit on finger movement for the remainder of the touch tracking
      • minimumPressDuration

        public double minimumPressDuration()
        Default is 0.5. Time in seconds the fingers must be held down for the gesture to be recognized
      • numberOfTapsRequired

        public long numberOfTapsRequired()
        Default is 0. The number of full taps required before the press for gesture to be recognized
      • numberOfTouchesRequired

        public long numberOfTouchesRequired()
        Default is 1. Number of fingers that must be held down for the gesture to be recognized
      • setAllowableMovement

        public void setAllowableMovement​(double value)
        Default is 10. Maximum movement in pixels allowed before the gesture fails. Once recognized (after minimumPressDuration) there is no limit on finger movement for the remainder of the touch tracking
      • setMinimumPressDuration

        public void setMinimumPressDuration​(double value)
        Default is 0.5. Time in seconds the fingers must be held down for the gesture to be recognized
      • setNumberOfTapsRequired

        public void setNumberOfTapsRequired​(long value)
        Default is 0. The number of full taps required before the press for gesture to be recognized
      • setNumberOfTouchesRequired

        public void setNumberOfTouchesRequired​(long value)
        Default is 1. Number of fingers that must be held down for the gesture to be recognized