|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.apps.svgbrowser.JSVGViewerFrame.Debugger
protected static class JSVGViewerFrame.Debugger
Rhino debugger class.
| Field Summary | |
|---|---|
protected static int |
ATTACH_TO_METHOD
|
protected static int |
CLEAR_ALL_BREAKPOINTS_METHOD
|
protected static java.lang.Class |
contextFactoryClass
The Rhino ContextFactory class. |
protected static java.lang.Class |
debuggerClass
The Rhino debugger class. |
protected static java.lang.reflect.Constructor |
debuggerConstructor
Rhino debugger class constructor. |
protected java.lang.Object |
debuggerInstance
The Rhino debugger instance. |
protected static java.lang.reflect.Method[] |
debuggerMethods
Rhino debugger class methods. |
protected static int |
DETACH_METHOD
|
protected static int |
DISPOSE_METHOD
|
protected static int |
GET_DEBUG_FRAME_METHOD
|
protected static java.lang.reflect.Method |
getContextFactoryMethod
The getContextFactory method on the RhinoInterpreter class. |
protected static int |
GO_METHOD
|
protected static boolean |
isPresent
Whether the Rhino debugger classes are present. |
protected static java.lang.Class |
rhinoInterpreterClass
The RhinoInterpreter class. |
protected static int |
SET_EXIT_ACTION_METHOD
|
protected JSVGViewerFrame |
svgFrame
The JSVGViewerFrame. |
| Constructor Summary | |
|---|---|
JSVGViewerFrame.Debugger(JSVGViewerFrame frame,
java.lang.String url)
Creates a new Debugger. |
|
| Method Summary | |
|---|---|
void |
attach()
Attaches the debugger to the canvas' current interpreter. |
void |
attachTo(java.lang.Object contextFactory)
Calls attachTo on debuggerInstance. |
void |
clearAllBreakpoints()
Calls clearAllBreakpoints on debuggerInstance. |
void |
detach()
Calls detach on debuggerInstance. |
void |
dispose()
Calls dispose on debuggerInstance. |
protected java.lang.Object |
getContextFactory(java.lang.Object rhinoInterpreter)
Calls getContextFactory on the given instance of
RhinoInterpreter. |
protected javax.swing.JFrame |
getDebugFrame()
Calls getDebugFrame on debuggerInstance. |
void |
go()
Calls go on debuggerInstance. |
void |
initialize()
Initializes the debugger by massaging the GUI and attaching it to the Rhino interpreter's ContextFactory. |
void |
setDocumentURL(java.lang.String url)
Sets the document URL to use in the window title. |
protected void |
setExitAction(java.lang.Runnable r)
Calls setExitAction on debuggerInstance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean isPresent
protected static java.lang.Class debuggerClass
protected static java.lang.Class contextFactoryClass
protected static final int CLEAR_ALL_BREAKPOINTS_METHOD
protected static final int GO_METHOD
protected static final int SET_EXIT_ACTION_METHOD
protected static final int ATTACH_TO_METHOD
protected static final int DETACH_METHOD
protected static final int DISPOSE_METHOD
protected static final int GET_DEBUG_FRAME_METHOD
protected static java.lang.reflect.Constructor debuggerConstructor
protected static java.lang.reflect.Method[] debuggerMethods
protected static java.lang.Class rhinoInterpreterClass
protected static java.lang.reflect.Method getContextFactoryMethod
getContextFactory method on the RhinoInterpreter class.
protected java.lang.Object debuggerInstance
protected JSVGViewerFrame svgFrame
| Constructor Detail |
|---|
public JSVGViewerFrame.Debugger(JSVGViewerFrame frame,
java.lang.String url)
| Method Detail |
|---|
public void setDocumentURL(java.lang.String url)
public void initialize()
ContextFactory.
public void attach()
protected javax.swing.JFrame getDebugFrame()
getDebugFrame on debuggerInstance.
protected void setExitAction(java.lang.Runnable r)
setExitAction on debuggerInstance.
public void attachTo(java.lang.Object contextFactory)
attachTo on debuggerInstance.
public void detach()
detach on debuggerInstance.
public void go()
go on debuggerInstance.
public void clearAllBreakpoints()
clearAllBreakpoints on debuggerInstance.
public void dispose()
dispose on debuggerInstance.
protected java.lang.Object getContextFactory(java.lang.Object rhinoInterpreter)
getContextFactory on the given instance of
RhinoInterpreter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||