|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--chesspresso.game.view.HTMLGameBrowser
Producer for HTML pages displaying a game.
| Constructor Summary | |
HTMLGameBrowser()
Create a new HTMLGameBrowser with default settings. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
notifyLineEnd(int level)
|
void |
notifyLineStart(int level)
|
void |
notifyMove(Move move,
short[] nags,
java.lang.String comment,
int plyNumber,
int level)
|
void |
produceHTML(java.io.OutputStream outStream,
Game game)
Produces HTML to display a game. |
void |
produceHTML(java.io.OutputStream outStream,
Game game,
boolean contentOnly)
Produces HTML to display a game. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTMLGameBrowser()
| Method Detail |
public void notifyLineStart(int level)
notifyLineStart in interface GameListenerpublic void notifyLineEnd(int level)
notifyLineEnd in interface GameListener
public void notifyMove(Move move,
short[] nags,
java.lang.String comment,
int plyNumber,
int level)
notifyMove in interface GameListener
public void produceHTML(java.io.OutputStream outStream,
Game game)
outStream - where the HTML will be sent togame - the game to display.
public void produceHTML(java.io.OutputStream outStream,
Game game,
boolean contentOnly)
outStream - where the HTML will be sent togame - the game to display.contentOnly - if true skip header and footer information, use this if you want to
produce your own header and footerpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||