public static enum IPlayer.ScaleMode extends java.lang.Enum<IPlayer.ScaleMode>
Enum Constant and Description |
---|
SCALE_ASPECT_FILL
Fill to fit.
|
SCALE_ASPECT_FIT
Auto zoom to fit.
|
SCALE_TO_FILL
Stretch to fit.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Query the value of the specified parameter.
|
static IPlayer.ScaleMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IPlayer.ScaleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPlayer.ScaleMode SCALE_ASPECT_FIT
public static final IPlayer.ScaleMode SCALE_ASPECT_FILL
public static final IPlayer.ScaleMode SCALE_TO_FILL
public static IPlayer.ScaleMode[] values()
for (IPlayer.ScaleMode c : IPlayer.ScaleMode.values()) System.out.println(c);
public static IPlayer.ScaleMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()