|
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
EventListenerCollection manages a collection of blackjack event listeners.
| Field Summary | |
private java.util.List |
listeners
The list of blackjack event listeners |
| Constructor Summary | |
protected |
EventListenerCollection()
Default protected constructor. |
| Method Summary | |
void |
addEventListener(BlackjackEventListener listener)
Adds the specified blackjack event listener to this collection. |
protected BlackjackEventListener |
getEventListenerAt(int index)
Returns the blackjack event listener at the specified index. |
protected int |
getNumberOfListeners()
Returns the number of blackjack event listeners in this collection. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.util.List listeners
| Constructor Detail |
protected EventListenerCollection()
| Method Detail |
public void addEventListener(BlackjackEventListener listener)
listener - the BlackjackEventListener to addprotected int getNumberOfListeners()
protected BlackjackEventListener getEventListenerAt(int index)
index - the index of the listener to retrieve
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||