|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ModifierType> net.sf.magicproject.modifier.ModifierType
public enum ModifierType
Enum Constant Summary | |
---|---|
ABILITY_MODIFIER
Ability modifier |
|
ADDITIONAL_COST_MODIFIER
Additionnal cost modifier |
|
COLOR_MODIFIER
Color modifier |
|
CONTROLLER_MODIFIER
Controller modifier |
|
IDCARD_MODIFIER
Id card modifier |
|
OBJECT_MODIFIER
Object modifier |
|
PLAYABLE_ZONE_MODIFIER
Playable zone modifier |
|
PROPERTY_MODIFIER
property modifier |
|
REGISTER_INDIRECTION
register-indirection modifier |
|
REGISTER_MODIFIER
Simple modifier section |
|
STATIC_MODIFIER
A static modifier |
Field Summary | |
---|---|
static int |
GLOBAL_LAYER
The global layer :low priority means proceeded last. |
static int |
INTERNAL_LAYER
The internal layer : high priority means proceeded first. |
static int |
NORMAL_LAYER
normal modifier priority. |
Method Summary | |
---|---|
static ModifierType |
deserialize(java.io.InputStream input)
Read and return the enum from the given inputstream. |
void |
serialize(java.io.OutputStream out)
Write this enum to the given outputstream. |
static ModifierType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ModifierType[] |
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 ModifierType REGISTER_MODIFIER
public static final ModifierType IDCARD_MODIFIER
public static final ModifierType PROPERTY_MODIFIER
public static final ModifierType REGISTER_INDIRECTION
public static final ModifierType COLOR_MODIFIER
public static final ModifierType STATIC_MODIFIER
public static final ModifierType CONTROLLER_MODIFIER
public static final ModifierType PLAYABLE_ZONE_MODIFIER
public static final ModifierType ABILITY_MODIFIER
public static final ModifierType OBJECT_MODIFIER
public static final ModifierType ADDITIONAL_COST_MODIFIER
Field Detail |
---|
public static final int INTERNAL_LAYER
public static final int NORMAL_LAYER
public static final int GLOBAL_LAYER
Method Detail |
---|
public static ModifierType[] values()
for (ModifierType c : ModifierType.values()) System.out.println(c);
public static ModifierType 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 ModifierType 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 |