rails.common
Enum GuiDef.Parm
java.lang.Object
java.lang.Enum<GuiDef.Parm>
rails.common.GuiDef.Parm
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GuiDef.Parm>
- Enclosing class:
- GuiDef
public static enum GuiDef.Parm
- extends java.lang.Enum<GuiDef.Parm>
Definitions for key/value pairs in the communication
between GameManager and GameUIManager.
Method Summary |
static GuiDef.Parm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GuiDef.Parm[] |
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 |
HAS_ANY_PAR_PRICE
public static final GuiDef.Parm HAS_ANY_PAR_PRICE
CAN_ANY_COMPANY_HOLD_OWN_SHARES
public static final GuiDef.Parm CAN_ANY_COMPANY_HOLD_OWN_SHARES
CAN_ANY_COMPANY_BUY_PRIVATES
public static final GuiDef.Parm CAN_ANY_COMPANY_BUY_PRIVATES
DO_BONUS_TOKENS_EXIST
public static final GuiDef.Parm DO_BONUS_TOKENS_EXIST
HAS_ANY_COMPANY_LOANS
public static final GuiDef.Parm HAS_ANY_COMPANY_LOANS
NO_MAP_MODE
public static final GuiDef.Parm NO_MAP_MODE
REVENUE_SUGGEST
public static final GuiDef.Parm REVENUE_SUGGEST
ROUTE_HIGHLIGHT
public static final GuiDef.Parm ROUTE_HIGHLIGHT
values
public static GuiDef.Parm[] 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 (GuiDef.Parm c : GuiDef.Parm.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GuiDef.Parm 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