|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcaas.util.Console
public class Console
This class represents an input/output console for the program running in JDI. This class will open a window with a TextArea and a TextField. The TextArea will be the output from stdout and stderr. The TextField is where the user can enter text that will then be fed to the program's stdin. The Console runs in its own thread, and has an OutputThread as its child.
Constructor Summary | |
---|---|
Console(java.lang.Process vm,
JDIHandler[] _handlers)
Constructor. |
Method Summary | |
---|---|
void |
closeWindow()
Closes the console frame |
void |
finish()
Alert this Console that it should stop. |
boolean |
isDead()
Checks to see if the Console is dead (finished running, or error) A Console is unusable after it is dead. |
boolean |
isRunning()
Checks to see if the Console is still running. |
void |
kill()
Forcably cause this Console to stop, as in response to a UI command, for example. |
void |
start()
Starts the Console going. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Console(java.lang.Process vm, JDIHandler[] _handlers)
vm
- the process for the JDI program_handlers
- a list of JDIHandlersMethod Detail |
---|
public void start()
public boolean isRunning()
public boolean isDead()
public void closeWindow()
public void kill()
public void finish()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |