|
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 visual representation of a chess board. The interface can be extended by both GUI (Graphic) and CLI (command line) classes.
Field Summary | |
static int |
BOTTOM_COORDINATES
no coordinates to appear around the boarders of the board |
static int |
LEFT_COORDINATES
no coordinates to appear around the boarders of the board |
static int |
NO_COORDINATES
no coordinates to appear around the boarders of the board |
static int |
RIGHT_COORDINATES
no coordinates to appear around the boarders of the board |
static int |
TOP_COORDINATES
no coordinates to appear around the boarders of the board |
Method Summary | |
boolean |
getSideToMoveOnBottom()
returns true if the board is set to re-orient itself so the side to move is at the bottom after every move on update. |
int |
getVisibleCoordinates()
returns the mask of which coordinates are set visible for this board. |
boolean |
isLowerCaseCoordinates()
returns if the coordinates are currently set to appear in lowercase. |
boolean |
isWhiteOnBottom()
returns true if the board is oriented so white is currently on the bottom. |
void |
setLowerCaseCoordinates(boolean t)
sets the coordinates to appear in lowercase. |
void |
setSideToMoveOnBottom(boolean t)
sets the board to re-orient itself so the side to move is at the bottom after every move on update. |
void |
setVisibleCoordinates(int whichCoordinatesMask)
sets which coordinates should appear when the board is displayed. |
void |
setWhiteOnBottom(boolean t)
orients the board so White is on the bottom. |
Field Detail |
public static final int NO_COORDINATES
public static final int TOP_COORDINATES
public static final int RIGHT_COORDINATES
public static final int BOTTOM_COORDINATES
public static final int LEFT_COORDINATES
Method Detail |
public void setWhiteOnBottom(boolean t)
public boolean isWhiteOnBottom()
public void setSideToMoveOnBottom(boolean t)
public boolean getSideToMoveOnBottom()
public void setVisibleCoordinates(int whichCoordinatesMask)
public int getVisibleCoordinates()
public void setLowerCaseCoordinates(boolean t)
public boolean isLowerCaseCoordinates()
|
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 |