Package com.iizix.prop.ui
Enum Transition
- java.lang.Object
- java.lang.Enum<Transition>
- com.iizix.prop.ui.Transition
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Transition>
public enum Transition extends java.lang.Enum<Transition>
The animation transition type used by the swap container.- Author:
- Christopher Mindus
Enum Constant Summary
Enum Constants Enum Constant Description COVER
Cover.COVERV
Cover vertically.CUBE
Cube (3D) rotation.DISSOLVE
Dissolve, transition direction does not apply.FADE
Fade, transition direction does not apply.FLIP
Flip.NONE
No transition, transition direction does not apply.REVEAL
Reveal.REVEALV
Reveal vertically.SLIDE
Slide.SLIDEV
Slide vertically.SWAP
Swap.SWIRL
Swirl.
Field Summary
Fields Modifier and Type Field Description int
value
The value: 0-16.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Transition
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Transition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
NONE
public static final Transition NONE
No transition, transition direction does not apply.
FADE
public static final Transition FADE
Fade, transition direction does not apply.
DISSOLVE
public static final Transition DISSOLVE
Dissolve, transition direction does not apply.
SLIDE
public static final Transition SLIDE
Slide.
SLIDEV
public static final Transition SLIDEV
Slide vertically.
COVER
public static final Transition COVER
Cover.
COVERV
public static final Transition COVERV
Cover vertically.
REVEAL
public static final Transition REVEAL
Reveal.
REVEALV
public static final Transition REVEALV
Reveal vertically.
FLIP
public static final Transition FLIP
Flip.
SWAP
public static final Transition SWAP
Swap.
CUBE
public static final Transition CUBE
Cube (3D) rotation.
SWIRL
public static final Transition SWIRL
Swirl.
Method Detail
values
public static Transition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Transition c : Transition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static Transition valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null