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.RunnableClass 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.StringalertMessageThe message of the exception thrown that caused the thread interruption, if any.private SwingGuidebugGuiThe debugger GUI.(package private) static intENTER_INTERRUPT(package private) java.lang.StringfileNameThe name of the file to open or load.(package private) Dim.StackFramelastFrameThe frame to interrupt in.(package private) static intLOAD_FILE(package private) static intOPEN_FILE(package private) Dim.SourceInfosourceInfoThe source for which to update the text.(package private) java.lang.StringtextThe source text to update.(package private) java.lang.StringthreadTitleThe name of the interrupted thread.private inttypeThe type of Runnable this object is.(package private) static intUPDATE_SOURCE_TEXT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()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.
-
-