Enum WVideo.Controls
- java.lang.Object
-
- java.lang.Enum<WVideo.Controls>
-
- com.github.bordertech.wcomponents.WVideo.Controls
-
- All Implemented Interfaces:
Serializable
,Comparable<WVideo.Controls>
- Enclosing class:
- WVideo
@Deprecated public static enum WVideo.Controls extends Enum<WVideo.Controls>
Deprecated.replaced with renderControls accessorsWVideo.isRenderControls()
andWVideo.setRenderControls(boolean)
This is used to indicate which playback controls to display for the video.Note: Advancements in video support in clients since this API was first implemented means that this is now redundant.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Deprecated.Display all controls.DEFAULT
Deprecated.Displays the "default" set of controls for the theme.NATIVE
Deprecated.Displays the client's native set of controls.NONE
Deprecated.Do not display any controls: not recommended.PLAY_PAUSE
Deprecated.A combined play/pause button.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WVideo.Controls
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static WVideo.Controls[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final WVideo.Controls NONE
Deprecated.Do not display any controls: not recommended. May be incompatible with any ofWVideo.isAutoplay()
== true,WVideo.isMuted()
== true orWVideo.isLoop()
== true. If this value is set then the WVideo control MAY NOT WORK AT ALL.
-
ALL
public static final WVideo.Controls ALL
Deprecated.Display all controls.
-
PLAY_PAUSE
public static final WVideo.Controls PLAY_PAUSE
Deprecated.A combined play/pause button.
-
DEFAULT
public static final WVideo.Controls DEFAULT
Deprecated.Displays the "default" set of controls for the theme.
-
NATIVE
public static final WVideo.Controls NATIVE
Deprecated.Displays the client's native set of controls.
-
-
Method Detail
-
values
public static WVideo.Controls[] values()
Deprecated.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 (WVideo.Controls c : WVideo.Controls.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WVideo.Controls valueOf(String name)
Deprecated.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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-