com.bramosystems.oss.player.core.client.ui
Enum WinMediaPlayer.UIMode

java.lang.Object
  extended by java.lang.Enum<WinMediaPlayer.UIMode>
      extended by com.bramosystems.oss.player.core.client.ui.WinMediaPlayer.UIMode
All Implemented Interfaces:
ConfigValue, Serializable, Comparable<WinMediaPlayer.UIMode>
Enclosing class:
WinMediaPlayer

public static enum WinMediaPlayer.UIMode
extends Enum<WinMediaPlayer.UIMode>
implements ConfigValue

An enum of user interface modes of the Windows Media Player™ plugin.

The mode indicates which controls are shown on the user interface.

Since:
1.0
Author:
Sikirulai Braheem

Enum Constant Summary
FULL
          The player is embedded with the status window, seek bar, play/pause, stop, mute, next, previous, fast forward, fast reverse, and volume controls in addition to the video or visualization window.
INVISIBLE
          The player is embedded without any visible user interface (controls, video or visualization window).
MINI
          The player is embedded with the status window, play/pause, stop, mute, and volume controls shown in addition to the video or visualization window.
NONE
          The player is embedded without controls, and with only the video or visualization window displayed.
 
Method Summary
static WinMediaPlayer.UIMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WinMediaPlayer.UIMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVISIBLE

public static final WinMediaPlayer.UIMode INVISIBLE
The player is embedded without any visible user interface (controls, video or visualization window).


NONE

public static final WinMediaPlayer.UIMode NONE
The player is embedded without controls, and with only the video or visualization window displayed.


MINI

public static final WinMediaPlayer.UIMode MINI
The player is embedded with the status window, play/pause, stop, mute, and volume controls shown in addition to the video or visualization window.


FULL

public static final WinMediaPlayer.UIMode FULL
The player is embedded with the status window, seek bar, play/pause, stop, mute, next, previous, fast forward, fast reverse, and volume controls in addition to the video or visualization window.

Method Detail

values

public static WinMediaPlayer.UIMode[] values()
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 (WinMediaPlayer.UIMode c : WinMediaPlayer.UIMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WinMediaPlayer.UIMode valueOf(String name)
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 name
NullPointerException - if the argument is null


Copyright © 2009-2011. All Rights Reserved.