|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.moyoman.client.reference.debug.DebugManager
Provides a manager for Moyoman Go debugging. This class acts as a delegate
for Moyoman
.
Field Summary | |
private ActionManager |
_actionManager
The action manager. |
private DebugDialog |
_blackDebugDialog
Debug dialog for player black. |
private IMoyoman |
_owner
Owner. |
private DebugDialog |
_whiteDebugDialog
Debug dialog for player white. |
private static DebugType[] |
SUPPORTED_DEBUG_TYPES
The desired debug types. |
Constructor Summary | |
DebugManager(IMoyoman owner)
Construct this object. |
Method Summary | |
void |
checkActions()
Check the actions for their enabled status. |
protected DebugDialog |
debugActionPerformed(DebugDialog debugDialog,
MoyomanPlayer player,
String playerName)
Perform the debug action for the given player. |
void |
debugBlackActionPerformed(ActionEvent event)
Perform the debug action for player black. |
void |
debugWhiteActionPerformed(ActionEvent event)
Perform the debug action for player white. |
protected ActionManager |
getActionManager()
Return the action manager, creating it if necessary. |
Action |
getDebugBlackAction()
Return the debug action for player black. |
Action |
getDebugWhiteAction()
Return the debug action for player white. |
void |
setLanguageName(String languageName)
Set the language name. |
void |
updateDebugDialog(List state)
Update the debug dialog. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final DebugType[] SUPPORTED_DEBUG_TYPES
private ActionManager _actionManager
private DebugDialog _blackDebugDialog
private DebugDialog _whiteDebugDialog
private IMoyoman _owner
Constructor Detail |
public DebugManager(IMoyoman owner)
owner
- The owner.Method Detail |
public Action getDebugBlackAction()
public Action getDebugWhiteAction()
public void setLanguageName(String languageName)
public void checkActions()
public void debugBlackActionPerformed(ActionEvent event)
public void debugWhiteActionPerformed(ActionEvent event)
public void updateDebugDialog(List state)
state
- The new board state.protected ActionManager getActionManager()
protected DebugDialog debugActionPerformed(DebugDialog debugDialog, MoyomanPlayer player, String playerName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |