|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iris.dmc.pdcc.gui.PipeReader
Provides stderr/stdout popup display.
| Field Summary | |
static int |
STDERR
|
static int |
STDOUT
|
| Constructor Summary | |
PipeReader(javax.swing.JFrame parent,
java.lang.String label)
Get new instance of PipeReader with indicated parent frame and label. |
|
| Method Summary | |
boolean |
isShowing()
|
static void |
main(java.lang.String[] args)
Default invocation method, launching the dialog to intercept STDERR messages. |
void |
setOut(int which)
Set whether to listen to STDERR streams or STDOUT streams. |
void |
setVisible(boolean isVisible)
Trigger visibility of the popup dialog. |
void |
start()
Starts thread to intercept output stream. |
void |
stop()
Stops thread from intercepting output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int STDERR
public static final int STDOUT
| Constructor Detail |
public PipeReader(javax.swing.JFrame parent,
java.lang.String label)
parent - parent JFrame to base the popup dialog fromlabel - title to display at the top of the popup dialog| Method Detail |
public void setVisible(boolean isVisible)
isVisible - true to trigger visibilitypublic boolean isShowing()
public void setOut(int which)
which - integer constant for STDOUT or STDERRpublic void start()
public void stop()
public static void main(java.lang.String[] args)
args - not used
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||