|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConfigParameter>
com.bramosystems.oss.player.core.client.ConfigParameter
public enum ConfigParameter
An enum of player configuration parameters.
The parameters are applied as HTML param tags on the underlying player plugin.
AbstractMediaPlayer.setConfigParameter(ConfigParameter, ConfigValue)| Enum Constant Summary | |
|---|---|
BackgroundColor
Parameter for the background color property or a player. |
|
QTScale
Parameter for QuickTimePlayers' Scale property. |
|
TransparencyMode
Parameter for the transparency mode for a player (if available). |
|
WMPUIMode
Parameter for WinMediaPlayers' UI Mode property. |
|
| Method Summary | |
|---|---|
Class[] |
getValueType()
Returns the required value type for this parameter. |
static ConfigParameter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigParameter[] |
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 |
|---|
public static final ConfigParameter TransparencyMode
This parameter requires a TransparencyMode value type
public static final ConfigParameter WMPUIMode
The mode indicates which controls are shown on the user interface.
This parameter requires a WinMediaPlayer.UIMode value type
public static final ConfigParameter QTScale
This parameter is used to scale the dimensions of a QuickTime movie. It requires either a QuickTimePlayer.Scale value type or a double value
A double value scales the movie by a factor of the value. For example, to play a movie at half its normal size, use QTScale with a value of 0.5
QuickTimePlayer.Scalepublic static final ConfigParameter BackgroundColor
This parameter is used to specify the background color for the exposed part of a players' alloted space The value should be specified as a CSS color value (i.e. hexadecimal RGB values)
| Method Detail |
|---|
public static ConfigParameter[] values()
for (ConfigParameter c : ConfigParameter.values()) System.out.println(c);
public static ConfigParameter valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Class[] getValueType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||