|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.editev.chess.Chess
|
+--com.editev.chess.printer.Printer
|
+--com.editev.chess.printer.JavascriptPrinter
Prints any Javascript definitions needed for the chess board.
the source here.| Inner classes inherited from class com.editev.chess.Chess |
Chess.Black,
Chess.White |
| Field Summary | |
private static java.lang.String |
HEADER_END
End of the Javascript headers. |
private static java.lang.String |
HEADER_FUNCTIONS
Javascript function definitions. |
private static java.lang.String |
HEADER_START
Start of the Javascript headers. |
| Fields inherited from class com.editev.chess.Chess |
BLACK,
NO_MOVE,
NO_PIECE,
WHITE |
| Constructor Summary | |
JavascriptPrinter()
|
|
| Method Summary | |
void |
print(GameHTML game)
Prints any Javascript definitions needed for the chess board. |
| 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 |
|
| Field Detail |
private static final java.lang.String HEADER_START
private static final java.lang.String HEADER_FUNCTIONS
private static final java.lang.String HEADER_END
| Constructor Detail |
public JavascriptPrinter()
| Method Detail |
public void print(GameHTML game)
game - the GameHTML with the board status and PrintStream for this board.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||