de.lessvoid.nifty.effects
Enum EffectType

java.lang.Object
  extended by java.lang.Enum<EffectType>
      extended by de.lessvoid.nifty.effects.EffectType
All Implemented Interfaces:
Serializable, Comparable<EffectType>

public enum EffectType
extends Enum<EffectType>

EffectType: pre or post effect.

Author:
void

Enum Constant Summary
Post
          EffectType that is rendered after the effect.
Pre
          EffectType that is rendered before the effect.
 
Method Summary
static EffectType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EffectType[] 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
 

Enum Constant Detail

Pre

public static final EffectType Pre
EffectType that is rendered before the effect.


Post

public static final EffectType Post
EffectType that is rendered after the effect.

Method Detail

values

public static EffectType[] 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 (EffectType c : EffectType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EffectType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.