org.openide.windows
Class InputOutput.Null

java.lang.Object
  |
  +--org.openide.windows.InputOutput.Null
All Implemented Interfaces:
InputOutput
Enclosing class:
InputOutput

Deprecated. Use InputOutput.NULL instead.

public static final class InputOutput.Null
extends Object
implements InputOutput


Inner classes inherited from class org.openide.windows.InputOutput
InputOutput.Null, InputOutput.NullOutputWriter
 
Fields inherited from interface org.openide.windows.InputOutput
NULL, nullReader, nullWriter
 
Constructor Summary
InputOutput.Null()
          Deprecated.  
 
Method Summary
 void closeInputOutput()
          Deprecated. Closes this tab.
 Reader flushReader()
          Deprecated. Flush pending data in the input-line's reader.
 OutputWriter getErr()
          Deprecated. Get an output writer to write to the tab in error mode.
 Reader getIn()
          Deprecated. Get a reader to read from the tab.
 OutputWriter getOut()
          Deprecated. Acquire an output writer to write to the tab.
 boolean isClosed()
          Deprecated. Test whether this tab is closed.
 boolean isErrSeparated()
          Deprecated. Test whether the error output is mixed into the regular output or not.
 boolean isFocusTaken()
          Deprecated. Test whether the output window takes focus when anything is written to it.
 void select()
          Deprecated. Make this pane visible.
 void setErrSeparated(boolean value)
          Deprecated. Set whether the error output should be mixed into the regular output or not.
 void setErrVisible(boolean value)
          Deprecated. Show or hide the error pane.
 void setFocusTaken(boolean value)
          Deprecated. Set whether the output window should take focus when anything is written to it.
 void setInputVisible(boolean value)
          Deprecated. Show or hide the input line.
 void setOutputVisible(boolean value)
          Deprecated. Show or hide the standard output pane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputOutput.Null

public InputOutput.Null()
Deprecated. 
Method Detail

getOut

public OutputWriter getOut()
Deprecated. 
Description copied from interface: InputOutput
Acquire an output writer to write to the tab. This is the usual use of a tab--it writes to the main output pane.
Specified by:
getOut in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
the writer

getIn

public Reader getIn()
Deprecated. 
Description copied from interface: InputOutput
Get a reader to read from the tab. If a reader is ever requested, an input line is added to the tab and used to read one line at a time.
Specified by:
getIn in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
the reader

getErr

public OutputWriter getErr()
Deprecated. 
Description copied from interface: InputOutput
Get an output writer to write to the tab in error mode. This might show up in a different color than the regular output, e.g., or appear in a separate pane.
Specified by:
getErr in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
the writer

closeInputOutput

public void closeInputOutput()
Deprecated. 
Description copied from interface: InputOutput
Closes this tab.
Specified by:
closeInputOutput in interface InputOutput

isClosed

public boolean isClosed()
Deprecated. 
Description copied from interface: InputOutput
Test whether this tab is closed.
Specified by:
isClosed in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
true if it is closed
See Also:
InputOutput.closeInputOutput()

setOutputVisible

public void setOutputVisible(boolean value)
Deprecated. 
Description copied from interface: InputOutput
Show or hide the standard output pane.
Specified by:
setOutputVisible in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Parameters:
value - true to show, false to hide

setErrVisible

public void setErrVisible(boolean value)
Deprecated. 
Description copied from interface: InputOutput
Show or hide the error pane. If the error is mixed into the output, this may not be useful.
Specified by:
setErrVisible in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Parameters:
value - true to show, false to hide

setInputVisible

public void setInputVisible(boolean value)
Deprecated. 
Description copied from interface: InputOutput
Show or hide the input line.
Specified by:
setInputVisible in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Parameters:
value - true to show, false to hide

select

public void select()
Deprecated. 
Description copied from interface: InputOutput
Make this pane visible. For example, may select this tab in a multi-window.
Specified by:
select in interface InputOutput

isErrSeparated

public boolean isErrSeparated()
Deprecated. 
Description copied from interface: InputOutput
Test whether the error output is mixed into the regular output or not.
Specified by:
isErrSeparated in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
true if separate, false if mixed in

setErrSeparated

public void setErrSeparated(boolean value)
Deprecated. 
Description copied from interface: InputOutput
Set whether the error output should be mixed into the regular output or not.
Specified by:
setErrSeparated in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
true to separate, false to mix in

isFocusTaken

public boolean isFocusTaken()
Deprecated. 
Description copied from interface: InputOutput
Test whether the output window takes focus when anything is written to it.
Specified by:
isFocusTaken in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
true if so

setFocusTaken

public void setFocusTaken(boolean value)
Deprecated. 
Description copied from interface: InputOutput
Set whether the output window should take focus when anything is written to it.
Specified by:
setFocusTaken in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
true to take focus

flushReader

public Reader flushReader()
Deprecated. 
Description copied from interface: InputOutput
Flush pending data in the input-line's reader. Called when the reader is about to be reused.
Specified by:
flushReader in interface InputOutput
Following copied from interface: org.openide.windows.InputOutput
Returns:
the flushed reader


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.