diewald_PS3.constants
Enum VIDEO_MODE
java.lang.Object
java.lang.Enum<VIDEO_MODE>
diewald_PS3.constants.VIDEO_MODE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VIDEO_MODE>
public enum VIDEO_MODE
- extends java.lang.Enum<VIDEO_MODE>
VIDEO_MODE contains all available video-modes for the video.
- Author:
- thomas diewald (c) 2011
Method Summary |
int |
getIndex()
|
static VIDEO_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VIDEO_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
QVGA
public static final VIDEO_MODE QVGA
VGA
public static final VIDEO_MODE VGA
values
public static VIDEO_MODE[] 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 (VIDEO_MODE c : VIDEO_MODE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VIDEO_MODE valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getIndex
public final int getIndex()
processing library diewald_PS3 by Thomas Diewald. (c) 2011