|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IView
The top-level view interface
Method Summary | |
---|---|
void |
enableStartTurnPanel(boolean enable)
Enables or disables the player's StartTurnPanel |
void |
enableWinPanel(boolean enable)
Enables or disables the panel shown when a player has won |
IEvent |
getNewGameEvent()
The new game event is emitted when the player wants to start a new game |
IPlayerPanel |
getPlayerPanel()
Returns the player panel |
IEvent |
getQuitEvent()
The quit event is emitted when the player wants to quit the game |
IEvent |
getStartTurnEvent()
The start turn event is emitted when the player wants to start his turn |
ITablePanel |
getTablePanel()
Returns the table |
void |
setCurrentPlayerName(java.lang.String playerName)
Sets the current player's name |
void |
setSelectedStones(java.util.Collection<Stone> stones)
Sets the stones that are to be painted selected |
Method Detail |
---|
ITablePanel getTablePanel()
IPlayerPanel getPlayerPanel()
void setCurrentPlayerName(java.lang.String playerName)
playerName
- the player namevoid setSelectedStones(java.util.Collection<Stone> stones)
stones
- the stones to be painted selectedvoid enableStartTurnPanel(boolean enable)
enable
- enable/disableIEvent getStartTurnEvent()
void enableWinPanel(boolean enable)
enable
- enable/disableIEvent getQuitEvent()
IEvent getNewGameEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |