Enum Class Speed

java.lang.Object
java.lang.Enum<Speed>
de.mekaso.vaadin.addon.compani.effect.Speed
All Implemented Interfaces:
Serializable, Comparable<Speed>, Constable

public enum Speed extends Enum<Speed>
The animation speed.
  • Enum Constant Details

    • slower

      public static final Speed slower
    • slow

      public static final Speed slow
    • normal

      public static final Speed normal
    • fast

      public static final Speed fast
    • faster

      public static final Speed faster
  • Method Details

    • values

      public static Speed[] 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

      public static Speed 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