Enum Class MediaPlayerButtonId

java.lang.Object
java.lang.Enum<MediaPlayerButtonId>
eu.webtoolkit.jwt.MediaPlayerButtonId
All Implemented Interfaces:
Serializable, Comparable<MediaPlayerButtonId>, Constable

public enum MediaPlayerButtonId extends Enum<MediaPlayerButtonId>
An enumeration for a button function.
  • Enum Constant Details

    • VideoPlay

      public static final MediaPlayerButtonId VideoPlay
      Play button which overlays the video (for Video only)
    • Play

      public static final MediaPlayerButtonId Play
      Play button, is hidden while playing.
    • Pause

      public static final MediaPlayerButtonId Pause
      Pause button, is hidden while paused.
    • Stop

      public static final MediaPlayerButtonId Stop
      Stop button.
    • VolumeMute

      public static final MediaPlayerButtonId VolumeMute
      Volume mute button.
    • VolumeUnmute

      public static final MediaPlayerButtonId VolumeUnmute
      Volume unmute button.
    • VolumeMax

      public static final MediaPlayerButtonId VolumeMax
      Volume max button.
    • FullScreen

      public static final MediaPlayerButtonId FullScreen
      Toggle button for full screen, is hidden while full screen (for Video only)
    • RestoreScreen

      public static final MediaPlayerButtonId RestoreScreen
      Toggle button to restore the screen, is shown only in full screen (for Video only)
    • RepeatOn

      public static final MediaPlayerButtonId RepeatOn
      Toggle button to enable looping, is hidden while repeating is on
    • RepeatOff

      public static final MediaPlayerButtonId RepeatOff
      Toggle button to disable looping, is hidden while repeat is off
  • Method Details

    • values

      public static MediaPlayerButtonId[] 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 MediaPlayerButtonId 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
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.