|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VisibilityChange> net.sf.magicproject.token.VisibilityChange
public enum VisibilityChange
Enum Constant Summary | |
---|---|
controller
The zone/card visibility is changed for the controller of this zone/card. |
|
everyone
The zone/card visibility is changed for everyone. |
|
opponent
The zone/card visibility is changed for the opponent of controller of this action. |
|
you
The zone/card visibility is changed for you, the controller of this action. |
Method Summary | |
---|---|
static VisibilityChange |
deserialize(java.io.InputStream input)
Read and return the enum from the given inputstream. |
void |
serialize(java.io.OutputStream out)
Wrtite this enum to the given outputstream. |
static VisibilityChange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VisibilityChange[] |
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 |
Enum Constant Detail |
---|
public static final VisibilityChange controller
public static final VisibilityChange opponent
public static final VisibilityChange you
public static final VisibilityChange everyone
Method Detail |
---|
public static VisibilityChange[] values()
for (VisibilityChange c : VisibilityChange.values()) System.out.println(c);
public static VisibilityChange 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 name
java.lang.NullPointerException
- if the argument is nullpublic void serialize(java.io.OutputStream out) throws java.io.IOException
out
- the stream ths enum would be written.
java.io.IOException
- If some other I/O error occurspublic static VisibilityChange deserialize(java.io.InputStream input) throws java.io.IOException
input
- the stream containing the enum to read.
java.io.IOException
- If some other I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |