|
Internet Chess ToolKit v0.2.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is a command line visual representation of a board.
Method Summary | |
java.io.Writer |
getWriter()
returns the Writer currently being used. |
boolean |
isInverse()
checks to see if the display is assuming the foreground is darker than the background. |
void |
print()
prints the current board onto the Writer. |
void |
print(Board board)
prints the current specified board onto the Writer. |
void |
setInverse(boolean t)
sets the display to assume the foreground is darker than the background. |
void |
setWriter(java.io.PrintWriter out)
sets the stream where the display will be sent. |
Methods inherited from interface ictk.boardgame.ui.BoardDisplay |
getBoard, setBoard, update |
Methods inherited from interface ictk.boardgame.BoardListener |
boardUpdate |
Method Detail |
public void setInverse(boolean t)
public boolean isInverse()
public void setWriter(java.io.PrintWriter out)
display.setWriter(new PrintWriter(System.out, true));
public java.io.Writer getWriter()
public void print()
public void print(Board board)
|
Submit a bug or feature Visit the Website Internet Chess ToolKit is licensed under the GPL v2 . |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |