Class UIDynamicItemBehavior

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class UIDynamicItemBehavior
    extends UIDynamicBehavior
    Available in iOS 7.0 and later.
    • Constructor Detail

      • UIDynamicItemBehavior

        public UIDynamicItemBehavior()
      • UIDynamicItemBehavior

        protected UIDynamicItemBehavior​(NSObject.Handle h,
                                        long handle)
      • UIDynamicItemBehavior

        protected UIDynamicItemBehavior​(NSObject.SkipInit skipInit)
      • UIDynamicItemBehavior

        public UIDynamicItemBehavior​(java.util.List<UIDynamicItem> items)
    • Method Detail

      • getElasticity

        public double getElasticity()
      • setElasticity

        public void setElasticity​(double v)
      • getFriction

        public double getFriction()
      • setFriction

        public void setFriction​(double v)
      • getDensity

        public double getDensity()
      • setDensity

        public void setDensity​(double v)
      • getResistance

        public double getResistance()
      • setResistance

        public void setResistance​(double v)
      • getAngularResistance

        public double getAngularResistance()
      • setAngularResistance

        public void setAngularResistance​(double v)
      • getCharge

        public double getCharge()
        Available in iOS 9.0 and later.
      • setCharge

        public void setCharge​(double v)
        Available in iOS 9.0 and later.
      • isAnchored

        public boolean isAnchored()
        Available in iOS 9.0 and later.
      • setAnchored

        public void setAnchored​(boolean v)
        Available in iOS 9.0 and later.
      • allowsRotation

        public boolean allowsRotation()
      • setAllowsRotation

        public void setAllowsRotation​(boolean v)
      • init

        protected long init​(java.util.List<UIDynamicItem> items)
      • addLinearVelocityForItem

        public void addLinearVelocityForItem​(CGPoint velocity,
                                             UIDynamicItem item)
      • addAngularVelocityForItem

        public void addAngularVelocityForItem​(double velocity,
                                              UIDynamicItem item)
      • getAngularVelocityForItem

        public double getAngularVelocityForItem​(UIDynamicItem item)