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 SummaryEnum ConstantsEnum 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 SummaryFields
- Method SummaryModifier and TypeMethodDescription- static Transition- get- (int value, Transition defaultTransition) Gets the transition by index value (0-16).- static TransitionReturns 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- NONENo transition, transition direction does not apply.
- FADEFade, transition direction does not apply.
- DISSOLVEDissolve, transition direction does not apply.
- SLIDESlide.
- SLIDEVSlide vertically.
- COVERCover.
- COVERVCover vertically.
- REVEALReveal.
- REVEALVReveal vertically.
- FLIPFlip.
- SWAPSwap.
- CUBECube (3D) rotation.
- SWIRLSwirl.
 
- Field Details- valuepublic final int valueThe value: 0-16. The property value stored in the animation is negated if direction is back (-1).
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- getGets the transition by index value (0-16).- Parameters:
- value- The index value.
- defaultTransition- Default transition if none other would apply for the value specified (e.g. out of range).
- Returns:
- The transition, or the default value if none is valid.