com.editev.chess.printer
Class BodyPrinter

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

public class BodyPrinter
extends Printer

Prints the HTML body for a chess board.

See Also:
the source here.

Inner classes inherited from class com.editev.chess.Chess
Chess.Black, Chess.White
 
Field Summary
 Printer gamePrinter
          Prints a whole chess game.
 
Fields inherited from class com.editev.chess.Chess
BLACK, NO_MOVE, NO_PIECE, WHITE
 
Constructor Summary
BodyPrinter()
           
 
Method Summary
 void print(GameHTML game)
          Prints the HTML body for a chess 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

gamePrinter

public Printer gamePrinter
Prints a whole chess game.
Constructor Detail

BodyPrinter

public BodyPrinter()
Method Detail

print

public void print(GameHTML game)
Prints the HTML body for a chess game.
Overrides:
print in class Printer
Parameters:
game - the GameHTML with the board status and PrintStream for this board.