com.editev.chess.printer
Class RefreshPrinter

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

public class RefreshPrinter
extends Printer

Print the refresh header, if any.

See Also:
the source here.

Inner classes inherited from class com.editev.chess.Chess
Chess.Black, Chess.White
 
Field Summary
static int NONE
          A refresh of NONE means don't refresh at all.
 
Fields inherited from class com.editev.chess.Chess
BLACK, NO_MOVE, NO_PIECE, WHITE
 
Constructor Summary
RefreshPrinter()
           
 
Method Summary
 void print(GameHTML game)
          Prints just the refresh 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

NONE

public static final int NONE
A refresh of NONE means don't refresh at all.
Constructor Detail

RefreshPrinter

public RefreshPrinter()
Method Detail

print

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