org.deken.game.trigger
Enum Trigger.TRIGGER_TIMES

java.lang.Object
  extended by java.lang.Enum<Trigger.TRIGGER_TIMES>
      extended by org.deken.game.trigger.Trigger.TRIGGER_TIMES
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Trigger.TRIGGER_TIMES>
Enclosing class:
Trigger

public static enum Trigger.TRIGGER_TIMES
extends java.lang.Enum<Trigger.TRIGGER_TIMES>


Enum Constant Summary
FOREVER
           
ONCE
           
 
Method Summary
static Trigger.TRIGGER_TIMES valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Trigger.TRIGGER_TIMES[] 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

ONCE

public static final Trigger.TRIGGER_TIMES ONCE

FOREVER

public static final Trigger.TRIGGER_TIMES FOREVER
Method Detail

values

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

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

valueOf

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