Package org.robovm.apple.uikit
Class UIAttachmentBehavior
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIDynamicBehavior
-
- org.robovm.apple.uikit.UIAttachmentBehavior
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class UIAttachmentBehavior extends UIDynamicBehavior
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIAttachmentBehavior.UIAttachmentBehaviorPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIDynamicBehavior
UIDynamicBehavior.UIDynamicBehaviorPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UIAttachmentBehavior()
protected
UIAttachmentBehavior(NSObject.Handle h, long handle)
protected
UIAttachmentBehavior(NSObject.SkipInit skipInit)
UIAttachmentBehavior(UIDynamicItem item, CGPoint point)
UIAttachmentBehavior(UIDynamicItem item1, UIDynamicItem item2)
UIAttachmentBehavior(UIDynamicItem item, UIOffset offset, CGPoint point)
UIAttachmentBehavior(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
-
Method Summary
-
Methods inherited from class org.robovm.apple.uikit.UIDynamicBehavior
addChildBehavior, getAction, getChildBehaviors, getDynamicAnimator, removeChildBehavior, setAction, willMoveToAnimator
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
UIAttachmentBehavior
public UIAttachmentBehavior()
-
UIAttachmentBehavior
protected UIAttachmentBehavior(NSObject.Handle h, long handle)
-
UIAttachmentBehavior
protected UIAttachmentBehavior(NSObject.SkipInit skipInit)
-
UIAttachmentBehavior
public UIAttachmentBehavior(UIDynamicItem item, CGPoint point)
-
UIAttachmentBehavior
public UIAttachmentBehavior(UIDynamicItem item, UIOffset offset, CGPoint point)
-
UIAttachmentBehavior
public UIAttachmentBehavior(UIDynamicItem item1, UIDynamicItem item2)
-
UIAttachmentBehavior
public UIAttachmentBehavior(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
-
-
Method Detail
-
getItems
public java.util.List<UIDynamicItem> getItems()
-
getAttachedBehaviorType
public UIAttachmentBehaviorType getAttachedBehaviorType()
-
getAnchorPoint
public CGPoint getAnchorPoint()
-
setAnchorPoint
public void setAnchorPoint(CGPoint v)
-
getLength
public double getLength()
-
setLength
public void setLength(double v)
-
getDamping
public double getDamping()
-
setDamping
public void setDamping(double v)
-
getFrequency
public double getFrequency()
-
setFrequency
public void setFrequency(double v)
-
getFrictionTorque
public double getFrictionTorque()
- Since:
- Available in iOS 9.0 and later.
-
setFrictionTorque
public void setFrictionTorque(double v)
- Since:
- Available in iOS 9.0 and later.
-
getAttachmentRange
public UIFloatRange getAttachmentRange()
- Since:
- Available in iOS 9.0 and later.
-
setAttachmentRange
public void setAttachmentRange(UIFloatRange v)
- Since:
- Available in iOS 9.0 and later.
-
init
protected long init(UIDynamicItem item, CGPoint point)
-
init
protected long init(UIDynamicItem item, UIOffset offset, CGPoint point)
-
init
protected long init(UIDynamicItem item1, UIDynamicItem item2)
-
init
protected long init(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
-
getSlidingAttachment
public static UIAttachmentBehavior getSlidingAttachment(UIDynamicItem item1, UIDynamicItem item2, CGPoint point, CGVector axis)
- Since:
- Available in iOS 9.0 and later.
-
getSlidingAttachment
public static UIAttachmentBehavior getSlidingAttachment(UIDynamicItem item, CGPoint point, CGVector axis)
- Since:
- Available in iOS 9.0 and later.
-
getLimitAttachment
public static UIAttachmentBehavior getLimitAttachment(UIDynamicItem item1, UIOffset offset1, UIDynamicItem item2, UIOffset offset2)
- Since:
- Available in iOS 9.0 and later.
-
getFixedAttachment
public static UIAttachmentBehavior getFixedAttachment(UIDynamicItem item1, UIDynamicItem item2, CGPoint point)
- Since:
- Available in iOS 9.0 and later.
-
getPinAttachment
public static UIAttachmentBehavior getPinAttachment(UIDynamicItem item1, UIDynamicItem item2, CGPoint point)
- Since:
- Available in iOS 9.0 and later.
-
-