@JsType(namespace="xgl") public enum AnimationPhase extends Enum<AnimationPhase>
Enum Constant and Description |
---|
CANCELING
The animation is canceled and is executing:
Animation.onCancelMeasure() or Animation.onCancelMutation() . |
COMPLETE
The animation is finished and is executing:
Animation.onCompleteMeasure() or Animation.onCompleteMutation() . |
NOT_STARTED
The animation is not started.
|
STARTING
The animation is executing
Animation.onStartMeasure() or Animation.onStartMutation() . |
UPDATING
The animation is executing an update:
Animation.onUpdateMeasure() or Animation#onUpdateMutation() . |
Modifier and Type | Method and Description |
---|---|
static AnimationPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnimationPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimationPhase NOT_STARTED
public static final AnimationPhase STARTING
Animation.onStartMeasure()
or Animation.onStartMutation()
.public static final AnimationPhase UPDATING
Animation.onUpdateMeasure()
or Animation#onUpdateMutation()
.public static final AnimationPhase COMPLETE
Animation.onCompleteMeasure()
or Animation.onCompleteMutation()
.public static final AnimationPhase CANCELING
Animation.onCancelMeasure()
or Animation.onCancelMutation()
.public static AnimationPhase[] values()
for (AnimationPhase c : AnimationPhase.values()) System.out.println(c);
public static AnimationPhase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Xalys. All rights reserved.