java.lang.Object
org.htmlunit.corejs.javascript.tools.debugger.RunProxy
All Implemented Interfaces:
Runnable

class RunProxy extends Object implements Runnable
Class to consolidate all cases that require to implement Runnable to avoid class generation bloat.
  • Field Details

    • OPEN_FILE

      static final int OPEN_FILE
      See Also:
    • LOAD_FILE

      static final int LOAD_FILE
      See Also:
    • UPDATE_SOURCE_TEXT

      static final int UPDATE_SOURCE_TEXT
      See Also:
    • ENTER_INTERRUPT

      static final int ENTER_INTERRUPT
      See Also:
    • debugGui

      private SwingGui debugGui
      The debugger GUI.
    • type

      private int type
      The type of Runnable this object is. Takes one of the constants defined in this class.
    • fileName

      String fileName
      The name of the file to open or load.
    • text

      String text
      The source text to update.
    • sourceInfo

      Dim.SourceInfo sourceInfo
      The source for which to update the text.
    • lastFrame

      Dim.StackFrame lastFrame
      The frame to interrupt in.
    • threadTitle

      String threadTitle
      The name of the interrupted thread.
    • alertMessage

      String alertMessage
      The message of the exception thrown that caused the thread interruption, if any.
  • Constructor Details

    • RunProxy

      public RunProxy(SwingGui debugGui, int type)
      Creates a new RunProxy.
  • Method Details

    • run

      public void run()
      Runs this Runnable.
      Specified by:
      run in interface Runnable