com.editev.chess.printer
Class HeaderPrinter

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

public class HeaderPrinter
extends Printer

Prints an HTML header for a chess game.

See Also:
the source here.

Inner classes inherited from class com.editev.chess.Chess
Chess.Black, Chess.White
 
Field Summary
 Printer javascript
          Print the Javascript definitions, if any.
 Printer refresh
          Print the refresh header, if any.
 Printer styleSheet
          Print the style sheets, if any.
 
Fields inherited from class com.editev.chess.Chess
BLACK, NO_MOVE, NO_PIECE, WHITE
 
Constructor Summary
HeaderPrinter()
           
 
Method Summary
 void print(GameHTML game)
          Prints just the HTML header.
 
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

javascript

public Printer javascript
Print the Javascript definitions, if any.

styleSheet

public Printer styleSheet
Print the style sheets, if any.

refresh

public Printer refresh
Print the refresh header, if any.
Constructor Detail

HeaderPrinter

public HeaderPrinter()
Method Detail

print

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