|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.display.Location
Location manages the Coordinate for each display element.
| Field Summary | |
private static int |
ANIMATION_COMBO_BOX_HORIZONTAL
The animation speed select box horizontal position |
private static int |
ANIMATION_COMBO_BOX_VERTICAL
The animation speed select box vertical position |
private static int |
AUDIO_COMBO_BOX_HORIZONTAL
The audio select box horizontal position |
private static int |
AUDIO_COMBO_BOX_VERTICAL
The audio select box vertical position |
private static int |
BALANCE_HORIZONTAL
The balance label horizontal position |
private static int |
BALANCE_VERTICAL
The balance label vertical position |
private static int |
DAS_COMBO_BOX_HORIZONTAL
The double after split select box horizontal position |
private static int |
DAS_COMBO_BOX_VERTICAL
The double after split select box vertical position |
private static int |
DEAL_HORIZONTAL
The deal button horizontal position |
private static int |
DEAL_VERTICAL
The deal button vertical position |
private static int |
DEALER_HORIZONTAL
The dealer hand horizontal position |
private static int |
DEALER_VERTICAL
The dealer hand vertical position |
private static int |
DECK_HORIZONTAL
The deck horizontal position |
private static int |
DECK_VERTICAL
The deck vertical position |
private static int |
DECKS_COMBO_BOX_HORIZONTAL
The decks select box horizontal position |
private static int |
DECKS_COMBO_BOX_VERTICAL
The decks select box vertical position |
private static int |
DECKS_LABEL_HORIZONTAL
The deck label horizontal position |
private static int |
DECKS_LABEL_VERTICAL
The deck label vertical position |
private static int |
DOUBLE_ANY_COMBO_BOX_HORIZONTAL
The double availability select box horizontal position |
private static int |
DOUBLE_ANY_COMBO_BOX_VERTICAL
The double availability select box vertical position |
private static int |
GAME_BET_HORIZONTAL
The game bet label horizontal position |
private static int |
GAME_BET_VERTICAL
The game bet label vertical position |
private static int |
LOWER_BET_HORIZONTAL
The lower bet label horizontal position |
private static int |
LOWER_BET_VERTICAL
The lower bet label vertical position |
private static int |
OPTIONS_HORIZONTAL
The house rules button horizontal position |
private static int |
OPTIONS_VERTICAL
The house rules button vertical position |
private static int |
PLAYER_0_HORIZONTAL
The first player hand horizontal position |
private static int |
PLAYER_1_HORIZONTAL
The second player hand horizontal position |
private static int |
PLAYER_2_HORIZONTAL
The third player hand horizontal position |
private static int |
PLAYER_3_HORIZONTAL
The fourth player hand horizontal position |
private static int[] |
PLAYER_HORIZONTAL
The array of player hand horizontal positions |
private static int |
PLAYER_VERTICAL
The player hand vertical position |
private static int |
PREFERENCES_HORIZONTAL
The preferences button horizontal position |
private static int |
PREFERENCES_VERTICAL
The preferences button vertical position |
private static int |
RAISE_BET_HORIZONTAL
The raise bet label horizontal position |
private static int |
RAISE_BET_VERTICAL
The raise bet label vertical position |
private static int |
SAVE_OPTIONS_HORIZONTAL
The save house rules button horizontal position |
private static int |
SAVE_OPTIONS_VERTICAL
The save house rules button vertical position |
private static int |
SAVE_PREFERENCES_HORIZONTAL
The save preferences button horizontal position |
private static int |
SAVE_PREFERENCES_VERTICAL
The save preferences button vertical position |
private static int |
SHUFFLE_HORIZONTAL
The shuffle button horizontal position |
private static int |
SHUFFLE_VERTICAL
The shuffle button vertical position |
private static int |
SOFT_17_COMBO_BOX_HORIZONTAL
The soft seventeen select box horizontal position |
private static int |
SOFT_17_COMBO_BOX_VERTICAL
The soft seventeen select box vertical position |
private static int |
STRATEGY_COMBO_BOX_HORIZONTAL
The strategy tutor select box horizontal position |
private static int |
STRATEGY_COMBO_BOX_VERTICAL
The strategy tutor select box vertical position |
private static int |
STRATEGY_LABEL_HORIZONTAL
The basic strategy label horizontal position |
private static int |
STRATEGY_LABEL_VERTICAL
The basic strategy label vertical position |
private static int |
SURRENDER_COMBO_BOX_HORIZONTAL
The surrender availability select box horizontal position |
private static int |
SURRENDER_COMBO_BOX_VERTICAL
The surrender availability select box vertical position |
| Constructor Summary | |
Location()
|
|
| Method Summary | |
static Coordinate |
getAnimationComboBoxCoordinates()
Returns the location of the animation speed select box. |
static Coordinate |
getAudioComboBoxCoordinates()
Returns the location of the audio select box. |
static Coordinate |
getBalanceCoordinates()
Returns the location of the balance label. |
static Coordinate |
getDASComboBoxCoordinates()
Returns the location of the double after split select box. |
static Coordinate |
getDealCoordinates()
Returns the location of the deal button. |
static Coordinate |
getDealerCoordinates()
Returns the location of the dealer hand. |
static Coordinate |
getDeckCoordinates()
Returns the location of the deck. |
static Coordinate |
getDecksComboBoxCoordinates()
Returns the location of the decks select box. |
static Coordinate |
getDecksLabelCoordinates()
Returns the location of the decks left label. |
static Coordinate |
getDoubleAnyComboBoxCoordinates()
Returns the location of the double availability select box. |
static Coordinate |
getGameBetCoordinates()
Returns the location of the bet label. |
static Coordinate |
getLowerBetCoordinates()
Returns the location of the lower bet button. |
static Coordinate |
getOptionsCoordinates()
Returns the location of the house rules button. |
static Coordinate |
getPlayerCoordinates(int index)
Returns the location of the specified player hand. |
static Coordinate |
getPreferencesCoordinates()
Returns the location of the preferences button. |
static Coordinate |
getRaiseBetCoordinates()
Returns the location of the raise bet button. |
static Coordinate |
getSaveOptionsCoordinates()
Returns the location of the save house rules. |
static Coordinate |
getSavePreferencesCoordinates()
Returns the location of the save preferences button. |
static Coordinate |
getShuffleCoordinates()
Returns the location of the shuffle button. |
static Coordinate |
getSoft17ComboBoxCoordinates()
Returns the location of the soft 17 select box. |
static Coordinate |
getStrategyComboBoxCoordinates()
Returns the location of the strategy tutor select box. |
static Coordinate |
getStrategyLabelCoordinates()
Returns the location of the basic strategy label. |
static Coordinate |
getSurrenderComboBoxCoordinates()
Returns the location of the surrender availability select box. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private static final int DEALER_HORIZONTAL
private static final int DEALER_VERTICAL
private static final int PLAYER_VERTICAL
private static final int PLAYER_0_HORIZONTAL
private static final int PLAYER_1_HORIZONTAL
private static final int PLAYER_2_HORIZONTAL
private static final int PLAYER_3_HORIZONTAL
private static final int BALANCE_HORIZONTAL
private static final int BALANCE_VERTICAL
private static final int GAME_BET_HORIZONTAL
private static final int GAME_BET_VERTICAL
private static final int RAISE_BET_HORIZONTAL
private static final int RAISE_BET_VERTICAL
private static final int LOWER_BET_HORIZONTAL
private static final int LOWER_BET_VERTICAL
private static final int DECK_HORIZONTAL
private static final int DECK_VERTICAL
private static final int DECKS_LABEL_HORIZONTAL
private static final int DECKS_LABEL_VERTICAL
private static final int DEAL_HORIZONTAL
private static final int DEAL_VERTICAL
private static final int SHUFFLE_HORIZONTAL
private static final int SHUFFLE_VERTICAL
private static final int OPTIONS_HORIZONTAL
private static final int OPTIONS_VERTICAL
private static final int PREFERENCES_HORIZONTAL
private static final int PREFERENCES_VERTICAL
private static final int DECKS_COMBO_BOX_HORIZONTAL
private static final int DECKS_COMBO_BOX_VERTICAL
private static final int SOFT_17_COMBO_BOX_HORIZONTAL
private static final int SOFT_17_COMBO_BOX_VERTICAL
private static final int DOUBLE_ANY_COMBO_BOX_HORIZONTAL
private static final int DOUBLE_ANY_COMBO_BOX_VERTICAL
private static final int DAS_COMBO_BOX_HORIZONTAL
private static final int DAS_COMBO_BOX_VERTICAL
private static final int SURRENDER_COMBO_BOX_HORIZONTAL
private static final int SURRENDER_COMBO_BOX_VERTICAL
private static final int SAVE_OPTIONS_HORIZONTAL
private static final int SAVE_OPTIONS_VERTICAL
private static final int ANIMATION_COMBO_BOX_HORIZONTAL
private static final int ANIMATION_COMBO_BOX_VERTICAL
private static final int STRATEGY_COMBO_BOX_HORIZONTAL
private static final int STRATEGY_COMBO_BOX_VERTICAL
private static final int AUDIO_COMBO_BOX_HORIZONTAL
private static final int AUDIO_COMBO_BOX_VERTICAL
private static final int SAVE_PREFERENCES_HORIZONTAL
private static final int SAVE_PREFERENCES_VERTICAL
private static final int STRATEGY_LABEL_HORIZONTAL
private static final int STRATEGY_LABEL_VERTICAL
private static final int[] PLAYER_HORIZONTAL
| Constructor Detail |
public Location()
| Method Detail |
public static Coordinate getDealerCoordinates()
public static Coordinate getPlayerCoordinates(int index)
index - the index of specified player handpublic static Coordinate getDeckCoordinates()
public static Coordinate getBalanceCoordinates()
public static Coordinate getGameBetCoordinates()
public static Coordinate getRaiseBetCoordinates()
public static Coordinate getLowerBetCoordinates()
public static Coordinate getDecksLabelCoordinates()
public static Coordinate getDealCoordinates()
public static Coordinate getShuffleCoordinates()
public static Coordinate getOptionsCoordinates()
public static Coordinate getPreferencesCoordinates()
public static Coordinate getDecksComboBoxCoordinates()
public static Coordinate getSoft17ComboBoxCoordinates()
public static Coordinate getDoubleAnyComboBoxCoordinates()
public static Coordinate getDASComboBoxCoordinates()
public static Coordinate getSurrenderComboBoxCoordinates()
public static Coordinate getSaveOptionsCoordinates()
public static Coordinate getAnimationComboBoxCoordinates()
public static Coordinate getStrategyComboBoxCoordinates()
public static Coordinate getAudioComboBoxCoordinates()
public static Coordinate getSavePreferencesCoordinates()
public static Coordinate getStrategyLabelCoordinates()
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||