Class RunProxy
- java.lang.Object
-
- org.htmlunit.corejs.javascript.tools.debugger.RunProxy
-
- All Implemented Interfaces:
java.lang.Runnable
class RunProxy extends java.lang.Object implements java.lang.Runnable
Class to consolidate all cases that require to implement Runnable to avoid class generation bloat.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
alertMessage
The message of the exception thrown that caused the thread interruption, if any.private SwingGui
debugGui
The debugger GUI.(package private) static int
ENTER_INTERRUPT
(package private) java.lang.String
fileName
The name of the file to open or load.(package private) Dim.StackFrame
lastFrame
The frame to interrupt in.(package private) static int
LOAD_FILE
(package private) static int
OPEN_FILE
(package private) Dim.SourceInfo
sourceInfo
The source for which to update the text.(package private) java.lang.String
text
The source text to update.(package private) java.lang.String
threadTitle
The name of the interrupted thread.private int
type
The type of Runnable this object is.(package private) static int
UPDATE_SOURCE_TEXT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Runs this Runnable.
-
-
-
Field Detail
-
OPEN_FILE
static final int OPEN_FILE
- See Also:
- Constant Field Values
-
LOAD_FILE
static final int LOAD_FILE
- See Also:
- Constant Field Values
-
UPDATE_SOURCE_TEXT
static final int UPDATE_SOURCE_TEXT
- See Also:
- Constant Field Values
-
ENTER_INTERRUPT
static final int ENTER_INTERRUPT
- See Also:
- Constant Field Values
-
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
java.lang.String fileName
The name of the file to open or load.
-
text
java.lang.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
java.lang.String threadTitle
The name of the interrupted thread.
-
alertMessage
java.lang.String alertMessage
The message of the exception thrown that caused the thread interruption, if any.
-
-
Constructor Detail
-
RunProxy
public RunProxy(SwingGui debugGui, int type)
Creates a new RunProxy.
-
-