net.sf.freecol.common.model
Enum HistoryEvent.EventType
java.lang.Object
java.lang.Enum<HistoryEvent.EventType>
net.sf.freecol.common.model.HistoryEvent.EventType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<HistoryEvent.EventType>
- Enclosing class:
- HistoryEvent
public static enum HistoryEvent.EventType
- extends java.lang.Enum<HistoryEvent.EventType>
| 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 |
DISCOVER_NEW_WORLD
public static final HistoryEvent.EventType DISCOVER_NEW_WORLD
DISCOVER_REGION
public static final HistoryEvent.EventType DISCOVER_REGION
MEET_NATION
public static final HistoryEvent.EventType MEET_NATION
CITY_OF_GOLD
public static final HistoryEvent.EventType CITY_OF_GOLD
FOUND_COLONY
public static final HistoryEvent.EventType FOUND_COLONY
ABANDON_COLONY
public static final HistoryEvent.EventType ABANDON_COLONY
CONQUER_COLONY
public static final HistoryEvent.EventType CONQUER_COLONY
COLONY_DESTROYED
public static final HistoryEvent.EventType COLONY_DESTROYED
COLONY_CONQUERED
public static final HistoryEvent.EventType COLONY_CONQUERED
DESTROY_SETTLEMENT
public static final HistoryEvent.EventType DESTROY_SETTLEMENT
DESTROY_NATION
public static final HistoryEvent.EventType DESTROY_NATION
NATION_DESTROYED
public static final HistoryEvent.EventType NATION_DESTROYED
FOUNDING_FATHER
public static final HistoryEvent.EventType FOUNDING_FATHER
DECLARE_INDEPENDENCE
public static final HistoryEvent.EventType DECLARE_INDEPENDENCE
INDEPENDENCE
public static final HistoryEvent.EventType INDEPENDENCE
SPANISH_SUCCESSION
public static final HistoryEvent.EventType SPANISH_SUCCESSION
values
public static HistoryEvent.EventType[] 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 (HistoryEvent.EventType c : HistoryEvent.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HistoryEvent.EventType 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