superwaba.ext.xplat.io.print.pboy
Class PBoyTypeWriter

java.lang.Object
  |
  +--superwaba.ext.xplat.io.print.TypeWriter
        |
        +--superwaba.ext.xplat.io.print.pboy.PBoyTypeWriter

public class PBoyTypeWriter
extends TypeWriter

This class implements the superwaba.ext.xplat.print.TypeWriter class. It acts like a simple typewriter. You can print only text through it. And, if supported, also set the font. Very good if sending just text is enough for you.


Method Summary
 void println(java.lang.String s)
          This method prints the given String using the current font.
 void printParagraph(java.lang.String s)
          This method prints the given String using the current font.
 void setFont(Font font)
          This method is not be supported in the PrintBoy library for a TypeWritter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

println

public void println(java.lang.String s)
             throws PrinterException
This method prints the given String using the current font. The text is not wrapped at end of line.
Overrides:
println in class TypeWriter

setFont

public void setFont(Font font)
             throws PrinterException,
                    NotSupportedException
This method is not be supported in the PrintBoy library for a TypeWritter.
Overrides:
setFont in class TypeWriter

printParagraph

public void printParagraph(java.lang.String s)
                    throws PrinterException,
                           NotSupportedException
This method prints the given String using the current font. The text is wrapped at end of line.
Overrides:
printParagraph in class TypeWriter