Package org.robovm.apple.uikit
Class UIDynamicAnimator
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.uikit.UIDynamicAnimator
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class UIDynamicAnimator extends NSObject
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIDynamicAnimator.UIDynamicAnimatorPtr
-
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 UIDynamicAnimator()
protected
UIDynamicAnimator(NSObject.Handle h, long handle)
protected
UIDynamicAnimator(NSObject.SkipInit skipInit)
UIDynamicAnimator(UICollectionViewLayout layout)
UIDynamicAnimator(UIView view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBehavior(UIDynamicBehavior behavior)
NSArray<UIDynamicBehavior>
getBehaviors()
UIDynamicAnimatorDelegate
getDelegate()
double
getElapsedTime()
java.util.List<UIDynamicItem>
getItemsInRect(CGRect rect)
UICollectionViewLayoutAttributes
getLayoutAttributesForCell(NSIndexPath indexPath)
UICollectionViewLayoutAttributes
getLayoutAttributesForDecorationView(java.lang.String decorationViewKind, NSIndexPath indexPath)
UICollectionViewLayoutAttributes
getLayoutAttributesForSupplementaryView(java.lang.String kind, NSIndexPath indexPath)
UIView
getReferenceView()
protected long
init(UICollectionViewLayout layout)
protected long
init(UIView view)
boolean
isRunning()
void
removeAllBehaviors()
void
removeBehavior(UIDynamicBehavior behavior)
void
setDelegate(UIDynamicAnimatorDelegate v)
void
updateItemUsingCurrentState(UIDynamicItem item)
-
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
-
UIDynamicAnimator
public UIDynamicAnimator()
-
UIDynamicAnimator
protected UIDynamicAnimator(NSObject.Handle h, long handle)
-
UIDynamicAnimator
protected UIDynamicAnimator(NSObject.SkipInit skipInit)
-
UIDynamicAnimator
public UIDynamicAnimator(UIView view)
-
UIDynamicAnimator
public UIDynamicAnimator(UICollectionViewLayout layout)
-
-
Method Detail
-
getReferenceView
public UIView getReferenceView()
-
getBehaviors
public NSArray<UIDynamicBehavior> getBehaviors()
-
isRunning
public boolean isRunning()
-
getElapsedTime
public double getElapsedTime()
-
getDelegate
public UIDynamicAnimatorDelegate getDelegate()
-
setDelegate
public void setDelegate(UIDynamicAnimatorDelegate v)
-
init
protected long init(UIView view)
-
addBehavior
public void addBehavior(UIDynamicBehavior behavior)
-
removeBehavior
public void removeBehavior(UIDynamicBehavior behavior)
-
removeAllBehaviors
public void removeAllBehaviors()
-
getItemsInRect
public java.util.List<UIDynamicItem> getItemsInRect(CGRect rect)
-
updateItemUsingCurrentState
public void updateItemUsingCurrentState(UIDynamicItem item)
-
init
protected long init(UICollectionViewLayout layout)
-
getLayoutAttributesForCell
public UICollectionViewLayoutAttributes getLayoutAttributesForCell(NSIndexPath indexPath)
-
getLayoutAttributesForSupplementaryView
public UICollectionViewLayoutAttributes getLayoutAttributesForSupplementaryView(java.lang.String kind, NSIndexPath indexPath)
-
getLayoutAttributesForDecorationView
public UICollectionViewLayoutAttributes getLayoutAttributesForDecorationView(java.lang.String decorationViewKind, NSIndexPath indexPath)
-
-