com.bramosystems.oss.player.core.client.ui
Enum DivXPlayer.DisplayMode

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

public static enum DivXPlayer.DisplayMode
extends Enum<DivXPlayer.DisplayMode>

An enum of display modes for DivXPlayer widget. The display mode is used to specify which skin mode the plugin should use to display playback controls


Enum Constant Summary
FULL
          The player displays the complete control bar at the bottom of the video area and an additional control bar at the top of the video area
LARGE
          The player shows a complete control bar at the bottom of the video area
MINI
          The player shows a more elaborate control bar at the bottom of the video area.
NULL
          The player shows absolutely no controls.
ZERO
          The player only shows a small floating controls bar in the bottom left corner of the allocated video area.
 
Method Summary
static DivXPlayer.DisplayMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DivXPlayer.DisplayMode[] 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

NULL

public static final DivXPlayer.DisplayMode NULL
The player shows absolutely no controls.


ZERO

public static final DivXPlayer.DisplayMode ZERO
The player only shows a small floating controls bar in the bottom left corner of the allocated video area.


MINI

public static final DivXPlayer.DisplayMode MINI
The player shows a more elaborate control bar at the bottom of the video area.


LARGE

public static final DivXPlayer.DisplayMode LARGE
The player shows a complete control bar at the bottom of the video area


FULL

public static final DivXPlayer.DisplayMode FULL
The player displays the complete control bar at the bottom of the video area and an additional control bar at the top of the video area

Method Detail

values

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

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

valueOf

public static DivXPlayer.DisplayMode 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.