Class JSVGViewerFrame.Debugger
java.lang.Object
org.apache.batik.apps.svgbrowser.JSVGViewerFrame.Debugger
- Enclosing class:
JSVGViewerFrame
Rhino debugger class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static ClassThe Rhino ContextFactory class.protected static ClassThe Rhino debugger class.protected static ConstructorRhino debugger class constructor.protected ObjectThe Rhino debugger instance.protected static Method[]Rhino debugger class methods.protected static final intprotected static final intprotected static final intprotected static MethodThegetContextFactorymethod on theRhinoInterpreterclass.protected static final intprotected static booleanWhether the Rhino debugger classes are present.protected static ClassThe RhinoInterpreter class.protected static final intprotected JSVGViewerFrameThe JSVGViewerFrame. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattach()Attaches the debugger to the canvas' current interpreter.voidCallsattachToondebuggerInstance.voidCallsclearAllBreakpointsondebuggerInstance.voiddetach()CallsdetachondebuggerInstance.voiddispose()CallsdisposeondebuggerInstance.protected ObjectgetContextFactory(Object rhinoInterpreter) CallsgetContextFactoryon the given instance ofRhinoInterpreter.protected JFrameCallsgetDebugFrameondebuggerInstance.voidgo()CallsgoondebuggerInstance.voidInitializes the debugger by massaging the GUI and attaching it to the Rhino interpreter's org.mozilla.javascript.ContextFactory.voidsetDocumentURL(String url) Sets the document URL to use in the window title.protected voidCallssetExitActionondebuggerInstance.
-
Field Details
-
isPresent
protected static boolean isPresentWhether the Rhino debugger classes are present. -
debuggerClass
The Rhino debugger class. -
contextFactoryClass
The Rhino ContextFactory class. -
CLEAR_ALL_BREAKPOINTS_METHOD
protected static final int CLEAR_ALL_BREAKPOINTS_METHOD- See Also:
-
GO_METHOD
protected static final int GO_METHOD- See Also:
-
SET_EXIT_ACTION_METHOD
protected static final int SET_EXIT_ACTION_METHOD- See Also:
-
ATTACH_TO_METHOD
protected static final int ATTACH_TO_METHOD- See Also:
-
DETACH_METHOD
protected static final int DETACH_METHOD- See Also:
-
DISPOSE_METHOD
protected static final int DISPOSE_METHOD- See Also:
-
GET_DEBUG_FRAME_METHOD
protected static final int GET_DEBUG_FRAME_METHOD- See Also:
-
debuggerConstructor
Rhino debugger class constructor. -
debuggerMethods
Rhino debugger class methods. -
rhinoInterpreterClass
The RhinoInterpreter class. -
getContextFactoryMethod
ThegetContextFactorymethod on theRhinoInterpreterclass. -
debuggerInstance
The Rhino debugger instance. -
svgFrame
The JSVGViewerFrame.
-
-
Constructor Details
-
Debugger
Creates a new Debugger.
-
-
Method Details
-
setDocumentURL
Sets the document URL to use in the window title. -
initialize
public void initialize()Initializes the debugger by massaging the GUI and attaching it to the Rhino interpreter's org.mozilla.javascript.ContextFactory. -
attach
public void attach()Attaches the debugger to the canvas' current interpreter. -
getDebugFrame
CallsgetDebugFrameondebuggerInstance. -
setExitAction
CallssetExitActionondebuggerInstance. -
attachTo
CallsattachToondebuggerInstance. -
detach
public void detach()CallsdetachondebuggerInstance. -
go
public void go()CallsgoondebuggerInstance. -
clearAllBreakpoints
public void clearAllBreakpoints()CallsclearAllBreakpointsondebuggerInstance. -
dispose
public void dispose()CallsdisposeondebuggerInstance. -
getContextFactory
CallsgetContextFactoryon the given instance ofRhinoInterpreter.
-