|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.panel.JSwatPanel | +--com.bluemarsh.jswat.panel.LocalsTreePanel
Class LocalsTreePanel is responsible for displaying a tree of local variables in the current thread.
Field Summary | |
protected javax.swing.JTree |
localsTree
JTree containing local variables. |
protected Session |
session
Reference of the Session object that calls our refresh method. |
protected javax.swing.JScrollPane |
uicomp
Our UI component - scrollable panel |
Fields inherited from class com.bluemarsh.jswat.panel.JSwatPanel |
swat |
Constructor Summary | |
LocalsTreePanel()
Creates a LocalsTreePanel with the default tree. |
Method Summary | |
void |
activate(Session session)
Called when the Session is about to begin an active debugging session. |
void |
contextChanged(ContextChangeEvent cce)
Invoked when the current context has changed. |
void |
deactivate(Session session)
Called when the Session is about to end an active debugging session. |
javax.swing.JComponent |
getPeer()
Returns a reference to the peer UI component. |
javax.swing.JComponent |
getUI()
Returns a reference to the UI component. |
void |
init(Session session)
Called when the Session is ready to initialize this panel, generally just after the panel has been added to the Session. |
void |
refresh(Session session)
Update the display on the screen. |
protected void |
reschedule(Session session)
Call the refresh() method in a short time. |
protected void |
setMessage(java.lang.String name)
Sets the tree to show only a message as referenced by the given resource name. |
Methods inherited from class com.bluemarsh.jswat.panel.JSwatPanel |
close, getParentWindow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JTree localsTree
protected javax.swing.JScrollPane uicomp
protected Session session
Constructor Detail |
public LocalsTreePanel()
Method Detail |
public void activate(Session session)
activate
in class JSwatPanel
session
- Session being activated.public void contextChanged(ContextChangeEvent cce)
contextChanged
in interface ContextListener
cce
- context change eventpublic void deactivate(Session session)
deactivate
in class JSwatPanel
session
- Session being deactivated.public javax.swing.JComponent getPeer()
public javax.swing.JComponent getUI()
getUI
in class JSwatPanel
public void init(Session session)
init
in class JSwatPanel
session
- Session initializing this panel.public void refresh(Session session)
refresh
in class JSwatPanel
session
- Debugging Session object.protected void reschedule(Session session)
session
- owning Session.protected void setMessage(java.lang.String name)
name
- Name of string resource to display.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |