com.editev.chess.printer
Class PagePrinter

java.lang.Object
  |
  +--com.editev.chess.Chess
        |
        +--com.editev.chess.printer.Printer
              |
              +--com.editev.chess.printer.PagePrinter

public class PagePrinter
extends Printer

Prints an HTML page representing a chess game.

See Also:
the source here.

Inner classes inherited from class com.editev.chess.Chess
Chess.Black, Chess.White
 
Field Summary
static Printer bodyPrinter
           
static java.lang.String DOCTYPE_STRING
           
static Printer headerPrinter
           
 
Fields inherited from class com.editev.chess.Chess
BLACK, NO_MOVE, NO_PIECE, WHITE
 
Constructor Summary
PagePrinter()
           
 
Method Summary
 void print(GameHTML game)
          Print an entire HTML page representing a Game.
 
Methods inherited from class com.editev.chess.printer.Printer
eval
 
Methods inherited from class com.editev.chess.Chess
notColor, toColor, toColor, toColorName
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

DOCTYPE_STRING

public static final java.lang.String DOCTYPE_STRING

headerPrinter

public static Printer headerPrinter

bodyPrinter

public static Printer bodyPrinter
Constructor Detail

PagePrinter

public PagePrinter()
Method Detail

print

public void print(GameHTML game)
Print an entire HTML page representing a Game.
Overrides:
print in class Printer
Parameters:
game - the GameHTML with the board status and PrintStream for this board.