net.sf.freecol.client.gui.panel
Enum EventPanel.EventType

java.lang.Object
  extended by java.lang.Enum<EventPanel.EventType>
      extended by net.sf.freecol.client.gui.panel.EventPanel.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventPanel.EventType>
Enclosing class:
EventPanel

public static enum EventPanel.EventType
extends java.lang.Enum<EventPanel.EventType>


Enum Constant Summary
DISCOVER_PACIFIC
           
FIRST_LANDING
           
MEETING_AZTEC
           
MEETING_EUROPEANS
           
MEETING_INCA
           
MEETING_NATIVES
           
 
Method Summary
static EventPanel.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventPanel.EventType[] 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

FIRST_LANDING

public static final EventPanel.EventType FIRST_LANDING

MEETING_NATIVES

public static final EventPanel.EventType MEETING_NATIVES

MEETING_EUROPEANS

public static final EventPanel.EventType MEETING_EUROPEANS

MEETING_AZTEC

public static final EventPanel.EventType MEETING_AZTEC

MEETING_INCA

public static final EventPanel.EventType MEETING_INCA

DISCOVER_PACIFIC

public static final EventPanel.EventType DISCOVER_PACIFIC
Method Detail

values

public static EventPanel.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 (EventPanel.EventType c : EventPanel.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 EventPanel.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