net.sf.freecol.client.gui.panel
Enum UnitLabel.UnitAction

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

public static enum UnitLabel.UnitAction
extends java.lang.Enum<UnitLabel.UnitAction>


Enum Constant Summary
ACTIVATE_UNIT
           
ASSIGN
           
CLEAR_ORDERS
           
CLEAR_SPECIALITY
           
COLOPEDIA
           
FORTIFY
           
LEAVE_TOWN
           
SENTRY
           
WORK_BUILDING
           
WORK_TILE
           
 
Method Summary
static UnitLabel.UnitAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UnitLabel.UnitAction[] 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

ASSIGN

public static final UnitLabel.UnitAction ASSIGN

CLEAR_SPECIALITY

public static final UnitLabel.UnitAction CLEAR_SPECIALITY

ACTIVATE_UNIT

public static final UnitLabel.UnitAction ACTIVATE_UNIT

FORTIFY

public static final UnitLabel.UnitAction FORTIFY

SENTRY

public static final UnitLabel.UnitAction SENTRY

COLOPEDIA

public static final UnitLabel.UnitAction COLOPEDIA

LEAVE_TOWN

public static final UnitLabel.UnitAction LEAVE_TOWN

WORK_TILE

public static final UnitLabel.UnitAction WORK_TILE

WORK_BUILDING

public static final UnitLabel.UnitAction WORK_BUILDING

CLEAR_ORDERS

public static final UnitLabel.UnitAction CLEAR_ORDERS
Method Detail

values

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

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

valueOf

public static UnitLabel.UnitAction 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