|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ScoreItem>
net.curre.prefcount.gui.type.ScoreItem
public enum ScoreItem
This enum represents score item on the score board to be used as keys in the score board location map.
Created date: May 29, 2008
| Enum Constant Summary | |
|---|---|
FINAL_MOUNT
Key for the final mountain location. |
|
FINAL_SCORE
Key for the final score location. |
|
PLAYER_AMNIST_MOUNT
Key for the amnisted mountain's location. |
|
PLAYER_FIXED_MOUNT
Key for the fixed mountain's location. |
|
PLAYER_MOUNT
Key for the mountain's location. |
|
PLAYER_NAME
Key for the name's location. |
|
PLAYER_NEW_MOUNT
Key for the new mountain's location. |
|
PLAYER_POOL
Key for the pool's location. |
|
PLAYER_POOL_CLOSED
Key for the closed pool's location. |
|
WHIST_EAST
Key for the whist agains the East location. |
|
WHIST_EAST_SALDO
Key for the whist saldo with the East location. |
|
WHIST_FIX_EAST
Key for the whist fix agains the East location. |
|
WHIST_FIX_NORTH
Key for the whist fix agains the North location. |
|
WHIST_FIX_SOUTH
Key for the whist fix agains the South location. |
|
WHIST_FIX_WEST
Key for the whist fix agains the West location. |
|
WHIST_NORTH
Key for the whist agains the North location. |
|
WHIST_NORTH_SALDO
Key for the whist saldo with the North location. |
|
WHIST_SALDO_TOTAL
Key for the total whist saldo location. |
|
WHIST_SOUTH
Key for the whist agains the South location. |
|
WHIST_SOUTH_SALDO
Key for the whist saldo with the South location. |
|
WHIST_WEST
Key for the whist agains the West location. |
|
WHIST_WEST_SALDO
Key for the whist saldo with the West location. |
|
| Field Summary | |
|---|---|
boolean |
isOtherPlace
Flag that indicates, when true, that other player's name or place is required as an argument for the resource key; false indicates that the current player's name or place should be used as an argument with the resource key. |
java.lang.String |
key
Resource key for this item. |
Place |
place
This indicates that the item refers to a particular place (i.e. |
| Method Summary | |
|---|---|
static ScoreItem |
getWhistFixForWhist(Place whist)
Determines the whist fix score item for the given place. |
static ScoreItem |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ScoreItem[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ScoreItem PLAYER_NAME
public static final ScoreItem PLAYER_MOUNT
public static final ScoreItem PLAYER_NEW_MOUNT
public static final ScoreItem PLAYER_AMNIST_MOUNT
public static final ScoreItem PLAYER_FIXED_MOUNT
public static final ScoreItem PLAYER_POOL
public static final ScoreItem PLAYER_POOL_CLOSED
public static final ScoreItem WHIST_NORTH
public static final ScoreItem WHIST_EAST
public static final ScoreItem WHIST_SOUTH
public static final ScoreItem WHIST_WEST
public static final ScoreItem WHIST_FIX_NORTH
public static final ScoreItem WHIST_FIX_EAST
public static final ScoreItem WHIST_FIX_SOUTH
public static final ScoreItem WHIST_FIX_WEST
public static final ScoreItem WHIST_NORTH_SALDO
public static final ScoreItem WHIST_EAST_SALDO
public static final ScoreItem WHIST_SOUTH_SALDO
public static final ScoreItem WHIST_WEST_SALDO
public static final ScoreItem WHIST_SALDO_TOTAL
public static final ScoreItem FINAL_MOUNT
public static final ScoreItem FINAL_SCORE
| Field Detail |
|---|
public final Place place
public final java.lang.String key
public final boolean isOtherPlace
| Method Detail |
|---|
public static final ScoreItem[] values()
for(ScoreItem c : ScoreItem.values())
System.out.println(c);
public static ScoreItem valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic static ScoreItem getWhistFixForWhist(Place whist)
whist - whist place.
java.lang.IllegalArgumentException - when the passed argument is not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||