Package com.iizix.prop.ui
Enum Class Transition
- All Implemented Interfaces:
Serializable
,Comparable<Transition>
,Constable
The animation transition type used by the swap container.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionCover.Cover vertically.Cube (3D) rotation.Dissolve, transition direction does not apply.Fade, transition direction does not apply.Flip.No transition, transition direction does not apply.Reveal.Reveal vertically.Slide.Slide vertically.Swap.Swirl.Field Summary
Method Summary
Modifier and TypeMethodDescriptionstatic Transition
Returns the enum constant of this class with the specified name.static Transition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
NONE
No transition, transition direction does not apply.FADE
Fade, transition direction does not apply.DISSOLVE
Dissolve, transition direction does not apply.SLIDE
Slide.SLIDEV
Slide vertically.COVER
Cover.COVERV
Cover vertically.REVEAL
Reveal.REVEALV
Reveal vertically.FLIP
Flip.SWAP
Swap.CUBE
Cube (3D) rotation.SWIRL
Swirl.
Field Details
value
public final int valueThe value: 0-16. The property value stored in the animation is negated if direction is back (-1).
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null