henplus
Class TerminalOutputDevice

java.lang.Object
  extended by henplus.PrintStreamOutputDevice
      extended by henplus.TerminalOutputDevice
All Implemented Interfaces:
OutputDevice

public class TerminalOutputDevice
extends PrintStreamOutputDevice

The OutputDevice to write to.


Constructor Summary
TerminalOutputDevice(PrintStream out)
           
 
Method Summary
 void attributeBold()
           
 void attributeGrey()
           
 void attributeReset()
           
 boolean isTerminal()
           
 
Methods inherited from class henplus.PrintStreamOutputDevice
close, flush, print, println, println, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalOutputDevice

public TerminalOutputDevice(PrintStream out)
Method Detail

attributeBold

public void attributeBold()
Specified by:
attributeBold in interface OutputDevice
Overrides:
attributeBold in class PrintStreamOutputDevice

attributeGrey

public void attributeGrey()
Specified by:
attributeGrey in interface OutputDevice
Overrides:
attributeGrey in class PrintStreamOutputDevice

attributeReset

public void attributeReset()
Specified by:
attributeReset in interface OutputDevice
Overrides:
attributeReset in class PrintStreamOutputDevice

isTerminal

public boolean isTerminal()
Specified by:
isTerminal in interface OutputDevice
Overrides:
isTerminal in class PrintStreamOutputDevice


? 1997..2006 Henner Zeller