|
|||||||||
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.MethodsPanel
Class MethodsPanel is responsible for displaying the methods in the 'this' object in the current stack frame.
Field Summary | |
protected ContextManager |
contextManager
Handy reference to the Session's ContextManager. |
protected Session |
owningSession
Handy reference to the Session that owns us. |
protected javax.swing.JTable |
table
Our table component - displays the stack frames |
protected com.sun.jdi.ReferenceType |
thisClass
'this' object's class; may be null. |
protected javax.swing.JScrollPane |
uicomp
Our UI component - scrollable pane |
Fields inherited from class com.bluemarsh.jswat.panel.JSwatPanel |
swat |
Constructor Summary | |
MethodsPanel()
Constructs a new MethodsPanel with the default text area. |
Method Summary | |
void |
activate(Session session)
Called when the Session is about to begin an active debugging session. |
void |
close(Session session)
Called when the Session is closing down this panel, generally just after the panel has been removed from the 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 |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on a component. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component. |
void |
mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component. |
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component. |
void |
refresh(Session session)
Update the display on the screen. |
Methods inherited from class com.bluemarsh.jswat.panel.JSwatPanel |
getParentWindow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected javax.swing.JScrollPane uicomp
protected javax.swing.JTable table
protected Session owningSession
protected ContextManager contextManager
protected com.sun.jdi.ReferenceType thisClass
Constructor Detail |
public MethodsPanel()
Method Detail |
public void activate(Session session)
activate
in class JSwatPanel
session
- Session being activated.public void close(Session session)
close
in class JSwatPanel
session
- Session closing the panel.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 void init(Session session)
init
in class JSwatPanel
session
- Session initializing this panel.public javax.swing.JComponent getPeer()
public javax.swing.JComponent getUI()
getUI
in class JSwatPanel
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- Mouse event.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- Mouse event.public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- Mouse event.public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- Mouse event.public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- Mouse event.public void refresh(Session session)
refresh
in class JSwatPanel
session
- Debugging Session object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |