public static enum Datasette.Control extends Enum<Datasette.Control>
Enum Constant and Description |
---|
FORWARD
Press forward on tape.
|
RECORD
Press record on tape.
|
RESET
Datasette reset button (not included on the real thing).
|
RESET_COUNTER
Reset counter.
|
REWIND
Press rewind on tape.
|
START
Press play on tape.
|
STOP
Press stop on tape.
|
Modifier and Type | Method and Description |
---|---|
static Datasette.Control |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Datasette.Control[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Datasette.Control STOP
public static final Datasette.Control START
public static final Datasette.Control FORWARD
public static final Datasette.Control REWIND
public static final Datasette.Control RECORD
public static final Datasette.Control RESET
public static final Datasette.Control RESET_COUNTER
public static Datasette.Control[] values()
for (Datasette.Control c : Datasette.Control.values()) System.out.println(c);
public static Datasette.Control valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Ken Händel. All rights reserved.