|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.amoebacode.blackjack.command.AvailableCommands
AvailableCommands tracks a set of currently available commands. It is used to communicate which GUI buttons can be displayed.
| Field Summary | |
private java.util.Set |
commands
The set of available commands |
| Constructor Summary | |
protected |
AvailableCommands()
Default protected constructor. |
| Method Summary | |
protected void |
addAvailableCommand(java.lang.String command)
Adds the specified command to this collection. |
protected boolean |
isAvailableCommand(java.lang.String command)
Indicates whether the specified command is available. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private java.util.Set commands
| Constructor Detail |
protected AvailableCommands()
| Method Detail |
protected void addAvailableCommand(java.lang.String command)
command - a String representation of an available commandprotected boolean isAvailableCommand(java.lang.String command)
command - a String representation of a command
|
Blackjack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||