Package net.sf.freecol.client.gui.action
Enum ColopediaAction.PanelType
- java.lang.Object
-
- java.lang.Enum<ColopediaAction.PanelType>
-
- net.sf.freecol.client.gui.action.ColopediaAction.PanelType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ColopediaAction.PanelType>
- Enclosing class:
- ColopediaAction
public static enum ColopediaAction.PanelType extends java.lang.Enum<ColopediaAction.PanelType>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PanelType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
static ColopediaAction.PanelType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ColopediaAction.PanelType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERRAIN
public static final ColopediaAction.PanelType TERRAIN
-
RESOURCES
public static final ColopediaAction.PanelType RESOURCES
-
GOODS
public static final ColopediaAction.PanelType GOODS
-
UNITS
public static final ColopediaAction.PanelType UNITS
-
BUILDINGS
public static final ColopediaAction.PanelType BUILDINGS
-
FATHERS
public static final ColopediaAction.PanelType FATHERS
-
NATIONS
public static final ColopediaAction.PanelType NATIONS
-
NATION_TYPES
public static final ColopediaAction.PanelType NATION_TYPES
-
CONCEPTS
public static final ColopediaAction.PanelType CONCEPTS
-
-
Method Detail
-
values
public static ColopediaAction.PanelType[] 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 (ColopediaAction.PanelType c : ColopediaAction.PanelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColopediaAction.PanelType 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 namejava.lang.NullPointerException
- if the argument is null
-
getKey
public java.lang.String getKey()
-
-