Enum Class Audio.PreloadMode

java.lang.Object
java.lang.Enum<Audio.PreloadMode>
org.dellroad.stuff.vaadin24.audio.Audio.PreloadMode
All Implemented Interfaces:
Serializable, Comparable<Audio.PreloadMode>, Constable
Enclosing class:
Audio

public static enum Audio.PreloadMode extends Enum<Audio.PreloadMode>
Data pre-load modes for HTML &lt;audio&gt; elements.
  • Enum Constant Details

  • Method Details

    • values

      public static Audio.PreloadMode[] 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 Audio.PreloadMode 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Audio.PreloadMode>