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

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

public static enum WinMediaPlayer.EmbedMode
extends Enum<WinMediaPlayer.EmbedMode>

An enum of embed modes of the WinMediaPlayer widget.

The WinMediaPlayer widget requires the Windows Media Player plugin for Firefox which provides extensive javascript support in non-IE browsers. However, this requirement can be suppressed if the need is simply to embed Windows Media Player™ without any programmatic access.

Since:
1.2
Author:
Sikirulai Braheem

Enum Constant Summary
EMBED_ONLY
          The widget is used to embed Windows Media Player™ without any programmatic access.
PROGRAMMABLE
          The widget is used to embed Windows Media Player™ with full programmatic access.
 
Method Summary
static WinMediaPlayer.EmbedMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WinMediaPlayer.EmbedMode[] 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

EMBED_ONLY

public static final WinMediaPlayer.EmbedMode EMBED_ONLY
The widget is used to embed Windows Media Player™ without any programmatic access.

In this mode, all method calls are ignored


PROGRAMMABLE

public static final WinMediaPlayer.EmbedMode PROGRAMMABLE
The widget is used to embed Windows Media Player™ with full programmatic access. This mode requires the Windows Media Player plugin for Firefox in non-IE browsers.

Method Detail

values

public static WinMediaPlayer.EmbedMode[] 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.EmbedMode c : WinMediaPlayer.EmbedMode.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.EmbedMode 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.