net.sf.jaer.graphics
Enum AEViewer.PlayMode
java.lang.Object
java.lang.Enum<AEViewer.PlayMode>
net.sf.jaer.graphics.AEViewer.PlayMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<AEViewer.PlayMode>
- Enclosing class:
- AEViewer
public static enum AEViewer.PlayMode
- extends java.lang.Enum<AEViewer.PlayMode>
Modes of viewing: WAITING means waiting for device or for playback or remote, LIVE means showing a hardware interface, PLAYBACK means playing
back a recorded file, SEQUENCING means sequencing a file out on a sequencer device, REMOTE means playing a remote stream of AEs
Method Summary |
static AEViewer.PlayMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AEViewer.PlayMode[] |
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 |
WAITING
public static final AEViewer.PlayMode WAITING
LIVE
public static final AEViewer.PlayMode LIVE
PLAYBACK
public static final AEViewer.PlayMode PLAYBACK
SEQUENCING
public static final AEViewer.PlayMode SEQUENCING
REMOTE
public static final AEViewer.PlayMode REMOTE
values
public static AEViewer.PlayMode[] 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 (AEViewer.PlayMode c : AEViewer.PlayMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AEViewer.PlayMode 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