|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--org.moyoman.client.reference.debug.DebugPanel | +--org.moyoman.client.reference.debug.ForestDebugPanel
Provides a panel for forest type debug information.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private List |
_baseState
Base state for the board. |
private ForestUI |
_forestUI
Forest UI. |
static String |
TREE_NODE_PROPERTY
|
Fields inherited from class org.moyoman.client.reference.debug.DebugPanel |
_dataLabel, _dataUI |
Fields inherited from class javax.swing.JPanel |
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface org.moyoman.client.reference.util.IGUIConstants |
DEBUG, DIRTY_PROPERTY, GAP, MARGIN, TRANSPARENT_COLOR |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
protected |
ForestDebugPanel()
Construct this object. |
Method Summary | |
protected void |
createBoard()
Create the board. |
protected JComponent |
createEastComponent()
Create the East component. |
protected String |
getHelpTextKey()
Return the key for the help text. |
protected void |
init()
Initialize this panel. |
protected void |
resetBoardState()
Reset the board to the base state. |
void |
setBoardState(List state)
Set board state. |
void |
setDebugInfo(Debug debugInfo)
Set the debug info. |
protected void |
showChildren(DefaultMutableTreeNode node)
Display child moves of the given node as annotations. |
void |
valueChanged(TreeSelectionEvent event)
Response to a tree selection event. |
Methods inherited from class org.moyoman.client.reference.debug.DebugPanel |
clear, clearAnnotations, create, createHeaderPanel, debugInfoActionPerformed, getActionManager, getBoard, getDebugType, getForegroundFor, getHeader, getInfoAction, getModule, setDebugType, setEnabled, setHeader, setLanguageName, setListData, setModule |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String TREE_NODE_PROPERTY
private ForestUI _forestUI
private final List _baseState
Constructor Detail |
protected ForestDebugPanel()
Method Detail |
public void setBoardState(List state)
setBoardState
in class DebugPanel
state
- New state.public void setDebugInfo(Debug debugInfo)
setDebugInfo
in class DebugPanel
debugInfo
- Debug info.public void valueChanged(TreeSelectionEvent event)
valueChanged
in interface TreeSelectionListener
protected String getHelpTextKey()
getHelpTextKey
in class DebugPanel
protected void createBoard()
createBoard
in class DebugPanel
protected JComponent createEastComponent()
createEastComponent
in class DebugPanel
protected void init()
init
in class DebugPanel
protected void resetBoardState()
protected void showChildren(DefaultMutableTreeNode node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |