Enum Class Transition

java.lang.Object
java.lang.Enum<Transition>
com.iizix.prop.ui.Transition
All Implemented Interfaces:
Serializable, Comparable<Transition>, Constable

public enum Transition extends Enum<Transition>
The animation transition type used by the swap container.
Author:
Christopher Mindus
  • Enum Constant Details Link icon

    • NONE Link icon

      public static final Transition NONE
      No transition, transition direction does not apply.
    • FADE Link icon

      public static final Transition FADE
      Fade, transition direction does not apply.
    • DISSOLVE Link icon

      public static final Transition DISSOLVE
      Dissolve, transition direction does not apply.
    • SLIDE Link icon

      public static final Transition SLIDE
      Slide.
    • SLIDEV Link icon

      public static final Transition SLIDEV
      Slide vertically.
    • COVER Link icon

      public static final Transition COVER
      Cover.
    • COVERV Link icon

      public static final Transition COVERV
      Cover vertically.
    • REVEAL Link icon

      public static final Transition REVEAL
      Reveal.
    • REVEALV Link icon

      public static final Transition REVEALV
      Reveal vertically.
    • FLIP Link icon

      public static final Transition FLIP
      Flip.
    • SWAP Link icon

      public static final Transition SWAP
      Swap.
    • CUBE Link icon

      public static final Transition CUBE
      Cube (3D) rotation.
    • SWIRL Link icon

      public static final Transition SWIRL
      Swirl.
  • Field Details Link icon

    • value Link icon

      public final int value
      The value: 0-16. The property value stored in the animation is negated if direction is back (-1).
  • Method Details Link icon

    • values Link icon

      public static Transition[] 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 Link icon

      public static Transition valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get Link icon

      public static Transition get(int value, Transition defaultTransition)
      Gets 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.