Overview
Package
Class
Tree
Deprecated
Index
Help
Blackjack
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
<
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
C
canAct()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can act on this hand.
canAct()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
canDeal()
- Method in interface com.amoebacode.blackjack.core.
IGame
Indicates whether the next round can be dealt.
canDeal()
- Method in class com.amoebacode.blackjack.core.
Game
canDouble
- Variable in class com.amoebacode.blackjack.core.
HouseRules
The selected double down availability
canDoubleAfterSplit
- Variable in class com.amoebacode.blackjack.core.
HouseRules
Indicates whether the player can double down after splitting
canDoubleAfterSplit()
- Method in interface com.amoebacode.blackjack.core.
IHouseRules
Indicates whether the player can double down after splitting.
canDoubleAfterSplit()
- Method in class com.amoebacode.blackjack.core.
HouseRules
canDoubleAfterSplit()
- Method in class com.amoebacode.blackjack.display.
HouseRulesDisplay
Indicates whether the player can double down after splitting.
canDoubleAnyTwoCards()
- Method in interface com.amoebacode.blackjack.core.
IHouseRules
Indicates whether the user can double any two cards.
canDoubleAnyTwoCards()
- Method in class com.amoebacode.blackjack.core.
HouseRules
canDoubleAnyTwoCards()
- Method in class com.amoebacode.blackjack.display.
HouseRulesDisplay
Indicates whether the user can double any two cards.
canDoubleDown()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can double down this hand.
canDoubleDown()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
canDoubleNineTenElevenOnly()
- Method in interface com.amoebacode.blackjack.core.
IHouseRules
Indicates whether the user can double a nine, ten, or eleven only.
canDoubleNineTenElevenOnly()
- Method in class com.amoebacode.blackjack.core.
HouseRules
canDoubleNineTenElevenOnly()
- Method in class com.amoebacode.blackjack.display.
HouseRulesDisplay
Indicates whether the user can double a nine, ten, or eleven only.
canDoubleTenElevenOnly()
- Method in interface com.amoebacode.blackjack.core.
IHouseRules
Indicates whether the user can double a ten or eleven only.
canDoubleTenElevenOnly()
- Method in class com.amoebacode.blackjack.core.
HouseRules
canDoubleTenElevenOnly()
- Method in class com.amoebacode.blackjack.display.
HouseRulesDisplay
Indicates whether the user can double a ten or eleven only.
canEarlySurrender()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
Indicates whether the player can accept early surrender on this hand.
canHit()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can hit this hand.
canHit()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
canLowerBet()
- Method in interface com.amoebacode.blackjack.core.
IGame
Indicates whether the user can lower the initial bet.
canLowerBet()
- Method in class com.amoebacode.blackjack.core.
Game
canRaiseBet()
- Method in interface com.amoebacode.blackjack.core.
IGame
Indicates whether the user can raise the initial bet.
canRaiseBet()
- Method in class com.amoebacode.blackjack.core.
Game
canSplit()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can split this hand.
canSplit()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
canStand()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can stand on this hand.
canStand()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
canSurrender
- Variable in class com.amoebacode.blackjack.core.
HouseRules
The selected surrender availability
canSurrender()
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Indicates whether the player can accept surrender on this hand.
canSurrender()
- Method in class com.amoebacode.blackjack.core.
PlayerHand
card
- Variable in class com.amoebacode.blackjack.display.
CardDisplay
The card being displayed
card
- Variable in class com.amoebacode.blackjack.display.action.
AddCardAction
The card being added to the hand
Card
- class com.amoebacode.blackjack.core.
Card
.
Card represents a single playing card, tracking its value, suit, and score.
CARD_IMAGE_FILE_PREFIX
- Static variable in class com.amoebacode.blackjack.
Blackjack
The prefix for the relative path to the card image files
CARD_IMAGE_FILE_SUFFIX
- Static variable in class com.amoebacode.blackjack.
Blackjack
The suffix for the relative path to the card image file
CARD_LAYER
- Static variable in class com.amoebacode.blackjack.display.
DisplayManager
The pane layer used for cards
CARD_SOUND
- Static variable in class com.amoebacode.blackjack.display.
SoundRegistry
The filename of the card sound (played when a card is dealt)
Card(char, char, int)
- Constructor for class com.amoebacode.blackjack.core.
Card
Default protected constructor.
CardCollection
- class com.amoebacode.blackjack.core.
CardCollection
.
CardCollection is the base class for all sets of cards (like Deck and Hand).
CardCollection(IGameObject)
- Constructor for class com.amoebacode.blackjack.core.
CardCollection
Default protected constructor.
CardDisplay
- class com.amoebacode.blackjack.display.
CardDisplay
.
CardDisplay handles the display of a single card.
CardDisplay(HandDisplay, ICard)
- Constructor for class com.amoebacode.blackjack.display.
CardDisplay
Default protected constructor.
cardDisplays
- Variable in class com.amoebacode.blackjack.display.
HandDisplay
The list of card displays
cardIndex
- Variable in class com.amoebacode.blackjack.display.
AnimatedCard
The index of this card within its hand
cardLabel
- Variable in class com.amoebacode.blackjack.display.
AnimatedCard
The label element that draws this animated card
cards
- Variable in class com.amoebacode.blackjack.core.
CardCollection
The list of cards in this collection
CARDS
- Static variable in class com.amoebacode.blackjack.strategy.
BasicStrategyServerUtil
The set of card values
CARDS_IN_DECK
- Static variable in class com.amoebacode.blackjack.core.
Deck
The number of cards in each deck
cardsLabel
- Variable in class com.amoebacode.blackjack.display.
DeckDisplay
The deck blank card label
changeInitialBet(int)
- Method in class com.amoebacode.blackjack.core.
Game
Modifies the initial bet according to the specified change and notifies the GUI listeners.
checkAction(IPlayerHand, int, String, int)
- Method in class com.amoebacode.blackjack.strategy.
StrategyTable
Checks whether the specified user action is the proper basic strategy play.
checkAction(IPlayerHand, String)
- Method in class com.amoebacode.blackjack.core.
Round
checkAction(IPlayerHand, String)
- Method in interface com.amoebacode.blackjack.core.
IRound
Checks whether the specified user action is the proper basic strategy play.
checkAction(IPlayerHand, String, int)
- Method in interface com.amoebacode.blackjack.core.
IGame
Checks whether the specified user action is the proper basic strategy play based on the specified dealer score.
checkAction(IPlayerHand, String, int)
- Method in class com.amoebacode.blackjack.core.
Game
checkAction(IPlayerHand, String, int)
- Method in class com.amoebacode.blackjack.strategy.
BasicStrategy
checkAction(IPlayerHand, String, int)
- Method in interface com.amoebacode.blackjack.strategy.
IBasicStrategy
Checks whether the player is making the proper basic strategy playing decision.
checkAction(String)
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Checks whether the specified user action is the proper basic strategy play.
checkAction(String)
- Method in class com.amoebacode.blackjack.core.
PlayerHand
checkAction(String)
- Method in class com.amoebacode.blackjack.display.
PlayerHandDisplay
Checks whether the specified user action is the proper basic strategy play.
checkArguments(String[])
- Method in class com.amoebacode.blackjack.strategy.
BasicStrategyServer
Validates the set of arguments received from the SOAP client.
clear()
- Method in class com.amoebacode.blackjack.core.
Hand
clear()
- Method in interface com.amoebacode.blackjack.core.
IParticipant
Removes each of this participant's hands from the table.
clear()
- Method in class com.amoebacode.blackjack.core.
Participant
clear()
- Method in class com.amoebacode.blackjack.core.
Round
clear()
- Method in interface com.amoebacode.blackjack.core.
IRound
Clears each of the round participants.
clear()
- Method in interface com.amoebacode.blackjack.core.
IHand
Removes this hand from the table and notifies the GUI listeners.
clear()
- Method in class com.amoebacode.blackjack.display.
CardDisplay
Removes this card from the primary layered pane.
clear()
- Method in class com.amoebacode.blackjack.display.button.
ButtonBase
Removes this button from the primary layered pane.
clear()
- Method in class com.amoebacode.blackjack.display.combobox.
ComboBoxBase
Removes this select box from the primary layered pane.
clear()
- Method in class com.amoebacode.blackjack.display.label.
LabelWrapper
Cancels blinking and removes this label from the primary layered pane.
clear(BlackjackEvent)
- Method in class com.amoebacode.blackjack.display.
HandDisplay
clear(BlackjackEvent)
- Method in class com.amoebacode.blackjack.display.
PlayerHandDisplay
clear(BlackjackEvent)
- Method in interface com.amoebacode.blackjack.event.
HandEventListener
Clears this hand display object.
clearButtons()
- Method in class com.amoebacode.blackjack.display.button.
HandButtonSet
Removes all of the buttons from the primary layered pane.
clearCards()
- Method in class com.amoebacode.blackjack.display.
HandDisplay
Removes this hand's cards from the primary layered pane.
clearCurrentScore()
- Method in class com.amoebacode.blackjack.display.
HandDisplay
Removes this hand's score label from the primary layered pane.
closePreferences()
- Method in class com.amoebacode.blackjack.display.
PreferencesDisplay
Hides the preferences select boxes and associated button.
ColorFactory
- class com.amoebacode.blackjack.display.
ColorFactory
.
ColorFactory creates all colors.
ColorFactory()
- Constructor for class com.amoebacode.blackjack.display.
ColorFactory
com.amoebacode.blackjack
- package com.amoebacode.blackjack
com.amoebacode.blackjack.command
- package com.amoebacode.blackjack.command
com.amoebacode.blackjack.core
- package com.amoebacode.blackjack.core
com.amoebacode.blackjack.display
- package com.amoebacode.blackjack.display
com.amoebacode.blackjack.display.action
- package com.amoebacode.blackjack.display.action
com.amoebacode.blackjack.display.button
- package com.amoebacode.blackjack.display.button
com.amoebacode.blackjack.display.combobox
- package com.amoebacode.blackjack.display.combobox
com.amoebacode.blackjack.display.label
- package com.amoebacode.blackjack.display.label
com.amoebacode.blackjack.event
- package com.amoebacode.blackjack.event
com.amoebacode.blackjack.strategy
- package com.amoebacode.blackjack.strategy
COMBO_BOX_FONT_SIZE
- Static variable in class com.amoebacode.blackjack.display.
FontFactory
The select box font size
comboBox
- Variable in class com.amoebacode.blackjack.display.combobox.
ComboBoxBase
The select box component managed by this object
ComboBoxBase
- class com.amoebacode.blackjack.display.combobox.
ComboBoxBase
.
ComboBoxBase is the base class for all user combo boxes.
ComboBoxBase(DisplayElement)
- Constructor for class com.amoebacode.blackjack.display.combobox.
ComboBoxBase
Default protected constructor.
ComboBoxFactory
- class com.amoebacode.blackjack.display.combobox.
ComboBoxFactory
.
ComboBoxFactory handles initial creation of all user combo boxes.
ComboBoxFactory()
- Constructor for class com.amoebacode.blackjack.display.combobox.
ComboBoxFactory
comboBoxFont
- Static variable in class com.amoebacode.blackjack.display.
FontFactory
The select box font
COMMAND_BUY_INSURANCE
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the buy insurance command
COMMAND_DEAL
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the deal command
COMMAND_DECLINE_INSURANCE
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the decline insurance command
COMMAND_DOUBLE_DOWN
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the double down command
COMMAND_HIT
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the hit command
COMMAND_HOUSE_RULES
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the edit house rules command
COMMAND_LOWER_BET
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the lower bet command
COMMAND_PREFERENCES
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the edit preferences command
COMMAND_RAISE_BET
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the raise bet command
COMMAND_SHUFFLE
- Static variable in class com.amoebacode.blackjack.command.
AvailableGameCommands
A String representing the shuffle command
COMMAND_SPLIT
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the split command
COMMAND_STAND
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the stand command
COMMAND_SURRENDER
- Static variable in class com.amoebacode.blackjack.command.
AvailableHandCommands
A String representing the surrender command
CommandFactory
- class com.amoebacode.blackjack.command.
CommandFactory
.
CommandFactory is used to build the various game and player hand commands.
CommandFactory()
- Constructor for class com.amoebacode.blackjack.command.
CommandFactory
Private constructor - this class should not be instantiated.
commands
- Variable in class com.amoebacode.blackjack.command.
AvailableCommands
The set of available commands
completeDealer()
- Method in class com.amoebacode.blackjack.core.
Round
completeDealer()
- Method in interface com.amoebacode.blackjack.core.
IRound
Completes the dealer (called when the player is finished).
completeHand()
- Method in interface com.amoebacode.blackjack.core.
IDealer
Completes the dealer hand (called when all players have finished).
completeHand()
- Method in class com.amoebacode.blackjack.core.
Dealer
computeNetGain(int)
- Method in interface com.amoebacode.blackjack.core.
IPlayer
Computes the total net gain for all of the player hands, based on the specified dealer score and notifies the GUI listeners.
computeNetGain(int)
- Method in class com.amoebacode.blackjack.core.
Player
computeNetGain(int)
- Method in interface com.amoebacode.blackjack.core.
IPlayerHand
Calculates the net gain for this hand based on the specified dealer score, the current bet, and the outcome.
computeNetGain(int)
- Method in class com.amoebacode.blackjack.core.
PlayerHand
Coordinate
- class com.amoebacode.blackjack.display.
Coordinate
.
Coordinate manages one point on a two-dimensional plane.
Coordinate(int, int)
- Constructor for class com.amoebacode.blackjack.display.
Coordinate
Default public constructor.
CorrectAction
- class com.amoebacode.blackjack.strategy.
CorrectAction
.
CorrectAction represents a correct playing decision (including an alternate choice when the first choice is unavailable).
CorrectAction(String)
- Constructor for class com.amoebacode.blackjack.strategy.
CorrectAction
Default protected constructor.
CorrectAction(String, String)
- Constructor for class com.amoebacode.blackjack.strategy.
CorrectAction
Default protected constructor.
correctMove
- Variable in class com.amoebacode.blackjack.event.
BasicStrategyEvent
The correct move corresponding to the event
correctMove
- Variable in class com.amoebacode.blackjack.strategy.
StrategyReminder
The correct basic strategy play for the user's current situation
createSplitHand(ICard)
- Method in class com.amoebacode.blackjack.core.
Player
Creates a new hand based on the specified split card and notifies the GUI listeners.
currentBalance
- Variable in class com.amoebacode.blackjack.core.
Game
The user's current balance
currentPos
- Variable in class com.amoebacode.blackjack.display.
AnimatedCard
The current position of the animated card
currentScore
- Variable in class com.amoebacode.blackjack.display.
HandDisplay
The wrapper for the label that draws the current score
CurrentScoreLabel
- class com.amoebacode.blackjack.display.label.
CurrentScoreLabel
.
CurrentScoreLabel displays the current score of its corresponding hand.
CurrentScoreLabel(HandDisplay)
- Constructor for class com.amoebacode.blackjack.display.label.
CurrentScoreLabel
Default protected constructor.
Overview
Package
Class
Tree
Deprecated
Index
Help
Blackjack
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
<
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Copyright © 2002
amoebacode.com
.