Package apple.uikit

Class UIAttachmentBehavior

    • Constructor Detail

      • UIAttachmentBehavior

        protected UIAttachmentBehavior​(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()
      • fixedAttachmentWithItemAttachedToItemAttachmentAnchor

        public static java.lang.Object fixedAttachmentWithItemAttachedToItemAttachmentAnchor​(UIDynamicItem item1,
                                                                                             UIDynamicItem item2,
                                                                                             CGPoint point)
        A fixed attachment fuses two dynamic items together at a reference point. Fixed attachments are useful for creating complex shapes that can be broken apart later.
        Parameters:
        item1 - The first of two dynamic items connected by the attachment behavior.
        item2 - The second of two dynamic items connected by the attachment behavior.
        point - The point for which each item will be attached. The anchor point will be converted to each items local corrdinate system.
      • 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)
      • limitAttachmentWithItemOffsetFromCenterAttachedToItemOffsetFromCenter

        public static java.lang.Object limitAttachmentWithItemOffsetFromCenterAttachedToItemOffsetFromCenter​(UIDynamicItem item1,
                                                                                                             UIOffset offset1,
                                                                                                             UIDynamicItem item2,
                                                                                                             UIOffset offset2)
        A limit attachment imposes a maximum distance between two dynamic items, as if they were connected by a rope.
        Parameters:
        item1 - The first of two dynamic items connected by the attachment behavior.
        offset1 - The point, within the dynamic item and described as an offset from its center point, for the attachment behavior.
        item2 - The second of two dynamic items connected by the attachment behavior.
        offset2 - The point, within the dynamic item and described as an offset from its center point, for the attachment behavior.
        See Also:
        length()
      • new_objc

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

        public static java.lang.Object pinAttachmentWithItemAttachedToItemAttachmentAnchor​(UIDynamicItem item1,
                                                                                           UIDynamicItem item2,
                                                                                           CGPoint point)
        A pin attachment allows two dynamic items to independently rotate around the anchor point as if pinned together. You can configure how far the two objects may rotate and the resistance to rotation
        Parameters:
        item1 - The first of two dynamic items connected by the attachment behavior.
        item2 - The second of two dynamic items connected by the attachment behavior.
        point - The point for which each item will be attached. The anchor point will be converted to each items local corrdinate system
      • 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)
      • slidingAttachmentWithItemAttachedToItemAttachmentAnchorAxisOfTranslation

        public static java.lang.Object slidingAttachmentWithItemAttachedToItemAttachmentAnchorAxisOfTranslation​(UIDynamicItem item1,
                                                                                                                UIDynamicItem item2,
                                                                                                                CGPoint point,
                                                                                                                CGVector axis)
        A sliding attachment allows for relative translation of two items along a specified axis with respect to the anchor point. A sliding attachment prevents all relative rotation of the dynamic items.
        Parameters:
        item1 - The first of two dynamic items connected by the attachment behavior.
        item2 - The second of two dynamic items connected by the attachment behavior.
        point - The point for which each item will be attached. The anchor point will be converted to each items local corrdinate system.
        axis - Axis of allowed relative translation between local anchor point. Must be a unit vector.
      • slidingAttachmentWithItemAttachmentAnchorAxisOfTranslation

        public static java.lang.Object slidingAttachmentWithItemAttachmentAnchorAxisOfTranslation​(UIDynamicItem item,
                                                                                                  CGPoint point,
                                                                                                  CGVector axis)
        A sliding attachment allows for translation of the item along a specified axis with respect to the anchor point. A sliding attachment prevents all relative rotation of the dynamic items.
        Parameters:
        item1 - The dynamic item connected by the attachment behavior.
        point - The point for the item will be anchored by the attachment.
        axis - Axis of allowed translation for the item. Must be a unit vector.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • anchorPoint

        public CGPoint anchorPoint()
      • attachedBehaviorType

        public long attachedBehaviorType()
      • attachmentRange

        public UIFloatRange attachmentRange()
        default is UIFloatRangeInfinite
      • damping

        public double damping()
        1: critical damping
      • frequency

        public double frequency()
        in Hertz
      • frictionTorque

        public double frictionTorque()
        default is 0.0
      • items

        public NSArray<?> items()
      • length

        public double length()
      • setAnchorPoint

        public void setAnchorPoint​(CGPoint value)
      • setAttachmentRange

        public void setAttachmentRange​(UIFloatRange value)
        default is UIFloatRangeInfinite
      • setDamping

        public void setDamping​(double value)
        1: critical damping
      • setFrequency

        public void setFrequency​(double value)
        in Hertz
      • setFrictionTorque

        public void setFrictionTorque​(double value)
        default is 0.0
      • setLength

        public void setLength​(double value)