|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.amoebacode.blackjack.event.EventListenerCollection
|
+--com.amoebacode.blackjack.event.HandEventListenerCollection
|
+--com.amoebacode.blackjack.event.PlayerHandEventListenerCollection
PlayerHandEventListenerCollection manages a collection of player hand event listeners.
| Fields inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
listeners |
| Constructor Summary | |
PlayerHandEventListenerCollection()
Default public constructor. |
|
| Method Summary | |
void |
fireAvailableCommandsEvent(AvailableHandCommands availableCommands)
Fires an update available commands event to all of the listeners in this collection. |
void |
fireDrawNetGainEvent(IPlayerHand hand)
Fires a draw net gain event to all of the listeners in this collection. |
void |
fireRemoveCardEvent(ICard splitCard)
Fires a remove card event to all of the listeners in this collection. |
void |
fireUpdateBetLabelEvent(IPlayerHand hand)
Fires an update bet label event to all of the listeners in this collection. |
| Methods inherited from class com.amoebacode.blackjack.event.HandEventListenerCollection |
fireAddCardEvent, fireClearEvent |
| Methods inherited from class com.amoebacode.blackjack.event.EventListenerCollection |
addEventListener, getEventListenerAt, getNumberOfListeners |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public PlayerHandEventListenerCollection()
| Method Detail |
public void fireRemoveCardEvent(ICard splitCard)
splitCard - the ICard source of the eventpublic void fireAvailableCommandsEvent(AvailableHandCommands availableCommands)
availableCommands - the AvailableHandCommands source of the eventpublic void fireUpdateBetLabelEvent(IPlayerHand hand)
hand - the IPlayerHand source of the eventpublic void fireDrawNetGainEvent(IPlayerHand hand)
hand - the IPlayerHand source of the event
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||