Class ScriptDebugger
- java.lang.Object
-
- org.springframework.extensions.webscripts.ScriptDebugger
-
- All Implemented Interfaces:
java.lang.Runnable
public class ScriptDebugger extends java.lang.Object implements java.lang.RunnableAlfresco implementation of Rhino JavaScript debugger- Author:
- davidc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptDebugger.AlfrescoScopeProvider
-
Field Summary
Fields Modifier and Type Field Description protected org.mozilla.javascript.tools.debugger.Dimdim
-
Constructor Summary
Constructors Constructor Description ScriptDebugger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()Activate the Debuggerprotected java.lang.StringgetTitle()voidhide()Hide the Debuggerprotected voidinitDebugger()booleanisActive()Is Debugger active?booleanisVisible()Is Debugger visible?voidrun()Exit action.voidsetTitle(java.lang.String title)voidshow()Show the debuggervoidstart()Start the Debugger
-
-
-
Method Detail
-
setTitle
public void setTitle(java.lang.String title)
-
initDebugger
protected void initDebugger()
-
start
public void start()
Start the Debugger
-
activate
public void activate()
Activate the Debugger
-
getTitle
protected java.lang.String getTitle()
-
show
public void show()
Show the debugger
-
hide
public void hide()
Hide the Debugger
-
isVisible
public boolean isVisible()
Is Debugger visible?- Returns:
- boolean
-
isActive
public boolean isActive()
Is Debugger active?- Returns:
- boolean
-
run
public void run()
Exit action.- Specified by:
runin interfacejava.lang.Runnable
-
-