public enum ClientSnapshots extends java.lang.Enum<ClientSnapshots>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Snapshot |
getSnapshot(Snapshot.Key key) |
void |
onSnapshotReceived(Snapshot snapshot) |
void |
renderSnapshot(Snapshot.Header header,
int offsetX,
int offsetY,
int sizeX,
int sizeY) |
void |
renderSnapshot(Snapshot snapshot,
int offsetX,
int offsetY,
int sizeX,
int sizeY) |
static ClientSnapshots |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientSnapshots[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientSnapshots INSTANCE
public static ClientSnapshots[] values()
for (ClientSnapshots c : ClientSnapshots.values()) System.out.println(c);
public static ClientSnapshots 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 Snapshot getSnapshot(Snapshot.Key key)
public void onSnapshotReceived(Snapshot snapshot)
public void renderSnapshot(Snapshot.Header header, int offsetX, int offsetY, int sizeX, int sizeY)
public void renderSnapshot(Snapshot snapshot, int offsetX, int offsetY, int sizeX, int sizeY)