public class UIViewPropertyAnimator extends NSObject implements UIViewImplicitlyAnimating, NSCopying
| Modifier and Type | Class and Description |
|---|---|
static interface |
UIViewPropertyAnimator.Block_initWithDurationControlPoint1ControlPoint2Animations |
static interface |
UIViewPropertyAnimator.Block_initWithDurationCurveAnimations |
static interface |
UIViewPropertyAnimator.Block_initWithDurationDampingRatioAnimations |
static interface |
UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_3 |
static interface |
UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_4 |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIViewImplicitlyAnimating.Block_addAnimations, UIViewImplicitlyAnimating.Block_addAnimationsDelayFactor, UIViewImplicitlyAnimating.Block_addCompletion| Modifier | Constructor and Description |
|---|---|
protected |
UIViewPropertyAnimator(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
void |
addAnimations(UIViewImplicitlyAnimating.Block_addAnimations animation) |
void |
addAnimationsDelayFactor(UIViewImplicitlyAnimating.Block_addAnimationsDelayFactor animation,
double delayFactor) |
void |
addCompletion(UIViewImplicitlyAnimating.Block_addCompletion completion) |
static UIViewPropertyAnimator |
alloc() |
static UIViewPropertyAnimator |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
void |
continueAnimationWithTimingParametersDurationFactor(UITimingCurveProvider parameters,
double durationFactor) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
double |
delay()
Defaults to 0.
|
static java.lang.String |
description_static() |
double |
duration() |
void |
finishAnimationAtPosition(long finalPosition)
This method may only be called if the animator is in the stopped state.
|
double |
fractionComplete()
fractionComplete values are typically between 0 and 1.
|
static long |
hash_static() |
UIViewPropertyAnimator |
init() |
UIViewPropertyAnimator |
initWithDurationControlPoint1ControlPoint2Animations(double duration,
CGPoint point1,
CGPoint point2,
UIViewPropertyAnimator.Block_initWithDurationControlPoint1ControlPoint2Animations animations) |
UIViewPropertyAnimator |
initWithDurationCurveAnimations(double duration,
long curve,
UIViewPropertyAnimator.Block_initWithDurationCurveAnimations animations)
All convenience initializers return an animator which is not running.
|
UIViewPropertyAnimator |
initWithDurationDampingRatioAnimations(double duration,
double ratio,
UIViewPropertyAnimator.Block_initWithDurationDampingRatioAnimations animations) |
UIViewPropertyAnimator |
initWithDurationTimingParameters(double duration,
UITimingCurveProvider parameters) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isInterruptible()
Defaults to YES.
|
boolean |
isManualHitTestingEnabled()
Defaults to NO.
|
boolean |
isReversed()
Reversed indicates that the animation is running in the reversed direction when running is YES.
|
boolean |
isRunning()
Running indicates that the animation is running either in the forward or the reversed direction.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isUserInteractionEnabled()
Defaults to YES.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static UIViewPropertyAnimator |
new_objc() |
void |
pauseAnimation()
Pauses an active, running animation, or start the animation as paused.
|
boolean |
pausesOnCompletion()
Defaults to NO.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static UIViewPropertyAnimator |
runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion(double duration,
double delay,
long options,
UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_3 animations,
UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_4 completion)
This method provides compatibility with the old style [UIView
animationWithDuration:...] method.
|
boolean |
scrubsLinearly()
Defaults to YES.
|
void |
setFractionComplete(double value)
fractionComplete values are typically between 0 and 1.
|
void |
setInterruptible(boolean value)
Defaults to YES.
|
void |
setManualHitTestingEnabled(boolean value)
Defaults to NO.
|
void |
setPausesOnCompletion(boolean value)
Defaults to NO.
|
void |
setReversed(boolean value)
Reversed indicates that the animation is running in the reversed direction when running is YES.
|
void |
setScrubsLinearly(boolean value)
Defaults to YES.
|
void |
setUserInteractionEnabled(boolean value)
Defaults to YES.
|
static void |
setVersion_static(long aVersion) |
void |
startAnimation()
Starts the animation either from an inactive state, or if the animation has been paused.
|
void |
startAnimationAfterDelay(double delay)
Starts the animation after the given delay.
|
long |
state() |
void |
stopAnimation(boolean withoutFinishing)
Stops the animation.
|
static org.moe.natj.objc.Class |
superclass_static() |
UITimingCurveProvider |
timingParameters() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected UIViewPropertyAnimator(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static UIViewPropertyAnimator alloc()
public static UIViewPropertyAnimator allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static UIViewPropertyAnimator new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static UIViewPropertyAnimator runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_3 animations, UIViewPropertyAnimator.Block_runningPropertyAnimatorWithDurationDelayOptionsAnimationsCompletion_4 completion)
Creates a UIViewPropertyAnimator, sets the duration, options, etc. And starts the animation with the associated animation and completion blocks. The animator returned is interruptible only if it is not called from within the execution block of another animation (animator or legacy). Note that if it is called within the execution block of another animation it will inherit the duration and other characteristics of that animation UNLESS the appropriate override options have been specified. Also note that if is called within the execution block of another propertyAnimator that is interruptible, the implicit animations defined by this call will be tracked by the outer propertyAnimator.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public void addAnimations(UIViewImplicitlyAnimating.Block_addAnimations animation)
addAnimations in interface UIViewImplicitlyAnimatingpublic void addAnimationsDelayFactor(UIViewImplicitlyAnimating.Block_addAnimationsDelayFactor animation, double delayFactor)
addAnimationsDelayFactor in interface UIViewImplicitlyAnimatingpublic void addCompletion(UIViewImplicitlyAnimating.Block_addCompletion completion)
addCompletion in interface UIViewImplicitlyAnimatingpublic void continueAnimationWithTimingParametersDurationFactor(UITimingCurveProvider parameters, double durationFactor)
continueAnimationWithTimingParametersDurationFactor in interface UIViewImplicitlyAnimatingpublic java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic double delay()
public double duration()
public void finishAnimationAtPosition(long finalPosition)
UIViewAnimatingfinishAnimationAtPosition in interface UIViewAnimatingpublic double fractionComplete()
UIViewAnimatingfractionComplete in interface UIViewAnimatingpublic UIViewPropertyAnimator init()
public UIViewPropertyAnimator initWithDurationControlPoint1ControlPoint2Animations(double duration, CGPoint point1, CGPoint point2, UIViewPropertyAnimator.Block_initWithDurationControlPoint1ControlPoint2Animations animations)
public UIViewPropertyAnimator initWithDurationCurveAnimations(double duration, long curve, UIViewPropertyAnimator.Block_initWithDurationCurveAnimations animations)
public UIViewPropertyAnimator initWithDurationDampingRatioAnimations(double duration, double ratio, UIViewPropertyAnimator.Block_initWithDurationDampingRatioAnimations animations)
public UIViewPropertyAnimator initWithDurationTimingParameters(double duration, UITimingCurveProvider parameters)
public boolean isInterruptible()
public void setInterruptible(boolean value)
public boolean isManualHitTestingEnabled()
public void setManualHitTestingEnabled(boolean value)
public boolean isReversed()
UIViewAnimatingisReversed in interface UIViewAnimatingpublic void setReversed(boolean value)
UIViewAnimatingsetReversed in interface UIViewAnimatingpublic boolean isRunning()
UIViewAnimatingisRunning in interface UIViewAnimatingpublic boolean isUserInteractionEnabled()
public void setUserInteractionEnabled(boolean value)
public void pauseAnimation()
UIViewAnimatingpauseAnimation in interface UIViewAnimatingpublic void setFractionComplete(double value)
UIViewAnimatingsetFractionComplete in interface UIViewAnimatingpublic void startAnimation()
UIViewAnimatingstartAnimation in interface UIViewAnimatingpublic void startAnimationAfterDelay(double delay)
UIViewAnimatingstartAnimationAfterDelay in interface UIViewAnimatingpublic long state()
state in interface UIViewAnimatingpublic void stopAnimation(boolean withoutFinishing)
UIViewAnimatingstopAnimation in interface UIViewAnimatingpublic UITimingCurveProvider timingParameters()
public boolean pausesOnCompletion()
public boolean scrubsLinearly()
public void setPausesOnCompletion(boolean value)
public void setScrubsLinearly(boolean value)