Class ScriptDebugger

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ScriptDebugger
    extends java.lang.Object
    implements java.lang.Runnable
    Alfresco implementation of Rhino JavaScript debugger
    Author:
    davidc
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.mozilla.javascript.tools.debugger.Dim dim  
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptDebugger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()
      Activate the Debugger
      protected java.lang.String getTitle()  
      void hide()
      Hide the Debugger
      protected void initDebugger()  
      boolean isActive()
      Is Debugger active?
      boolean isVisible()
      Is Debugger visible?
      void run()
      Exit action.
      void setTitle​(java.lang.String title)  
      void show()
      Show the debugger
      void start()
      Start the Debugger
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dim

        protected org.mozilla.javascript.tools.debugger.Dim dim
    • Constructor Detail

      • ScriptDebugger

        public ScriptDebugger()
    • 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:
        run in interface java.lang.Runnable