|
|||||||||
| 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
A Printer is a Function that prints to a GameHTML -- we put together Printers to display an entire game as HTML.
the source here.| Inner classes inherited from class com.editev.chess.Chess |
Chess.Black,
Chess.White |
| Inner classes inherited from class com.editev.util.Function |
com.editev.util.Function.Catch,
com.editev.util.Function.Compose,
com.editev.util.Function.Evaluate,
com.editev.util.Function.Identity,
com.editev.util.Function.Loop,
com.editev.util.Function.Pair,
com.editev.util.Function.Reference,
com.editev.util.Function.Try |
| Fields inherited from class com.editev.chess.Chess |
BLACK,
NO_MOVE,
NO_PIECE,
WHITE |
| Fields inherited from interface com.editev.util.Function |
IDENTITY |
| Constructor Summary | |
Printer()
|
|
| Method Summary | |
java.lang.Object |
eval(java.lang.Object gameHTML)
Print to a GameHTML and return the same object. |
abstract void |
print(GameHTML gameHTML)
Print to an instance of GameHTML. |
| Methods inherited from class com.editev.chess.Chess |
notColor,
toColor,
toColor,
toColorName |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Printer()
| Method Detail |
public abstract void print(GameHTML gameHTML)
gameHTML - The GameHTML, which can also bepublic java.lang.Object eval(java.lang.Object gameHTML)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||