|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.apple.mrj.console.Console
The Console
class is a unification of both an input and output
console window. It maintains an input and output stream, and interleaves
textual intput and output graphically in a window, in a fashion similar to
a traditional console.
InputConsole
,
com.apple.mrj.console.OutputConsole
Field Summary | |
protected Frame |
consoleFrame
Deprecated. |
protected boolean |
consoleShowing
Deprecated. |
protected com.apple.mrj.console.Console.InputPipe |
inputConsolePipe
Deprecated. |
protected com.apple.mrj.console.Console.OutputPipe |
outputConsolePipe
Deprecated. |
protected com.apple.mrj.console.Console.ConsoleArea |
textArea
Deprecated. |
protected Object |
textAreaParam
Deprecated. |
protected boolean |
useForInput
Deprecated. |
protected boolean |
useForOutput
Deprecated. |
Method Summary | |
protected void |
commitInput(String str)
Deprecated. |
protected void |
createConsoleWindow()
Deprecated. |
InputStream |
getInputStream()
Deprecated. Retrieves an input stream that can be attached to System.in ,
to achieve redirection of standard input. |
OutputStream |
getOutputStream()
Deprecated. Retrieves an output stream that can be attached to System.out
and System.err , to achieve redirection of standard output and
error messages or data. |
void |
run()
Deprecated. When an object implementing interface Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
protected void |
showHideConsole(boolean show)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.apple.mrj.console.Console.ConsoleArea textArea
protected Object textAreaParam
protected com.apple.mrj.console.Console.InputPipe inputConsolePipe
protected com.apple.mrj.console.Console.OutputPipe outputConsolePipe
protected boolean useForInput
protected boolean useForOutput
protected Frame consoleFrame
protected boolean consoleShowing
Method Detail |
public InputStream getInputStream()
System.in
,
to achieve redirection of standard input.public OutputStream getOutputStream()
System.out
and System.err
, to achieve redirection of standard output and
error messages or data.protected void commitInput(String str)
public void run()
Runnable
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.
run
in interface Runnable
java.lang.Runnable
Thread.run()
protected void createConsoleWindow()
protected void showHideConsole(boolean show)
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.