A B C D E F G H I K M O P Q R S T U V W

A

add(int, int) - Method in class com.webstersmalley.chessweb.model.Position
Adds a vector onto the position.
addMove(Move) - Method in class com.webstersmalley.chessweb.model.MoveHistory
Adds a move to the history.
ALL_PIECES - Static variable in class com.webstersmalley.chessweb.model.Piece
All the Pieces - used for iterating.

B

BannerController - Class in com.webstersmalley.chessweb.web
Controller for the banner frame.
BannerController() - Constructor for class com.webstersmalley.chessweb.web.BannerController
 
Bishop - Class in com.webstersmalley.chessweb.model.pieces
Bishop class.
Bishop(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.Bishop
Constructs the Bishop.
BLACK - Static variable in class com.webstersmalley.chessweb.model.Team
Black team.
BLACK_BISHOP - Static variable in class com.webstersmalley.chessweb.model.Piece
Black Bishop Piece.
BLACK_KING - Static variable in class com.webstersmalley.chessweb.model.Piece
Black King Piece.
BLACK_KNIGHT - Static variable in class com.webstersmalley.chessweb.model.Piece
Black Knight Piece.
BLACK_PAWN - Static variable in class com.webstersmalley.chessweb.model.Piece
Black Pawn Piece.
BLACK_QUEEN - Static variable in class com.webstersmalley.chessweb.model.Piece
Black Queen Piece.
BLACK_ROOK - Static variable in class com.webstersmalley.chessweb.model.Piece
Black Rook Piece.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Bishop
Black starting positions.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.King
Black starting positions.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Knight
Black starting positions.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Pawn
Black starting positions.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Queen
Black starting positions.
BLACK_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Rook
Black starting positions.
Board - Class in com.webstersmalley.chessweb.model
Represents the current state of the chessboard.
Board() - Constructor for class com.webstersmalley.chessweb.model.Board
 

C

clone() - Method in class com.webstersmalley.chessweb.model.Position
Create a clone of this position.
com.webstersmalley.chessweb.game - package com.webstersmalley.chessweb.game
 
com.webstersmalley.chessweb.model - package com.webstersmalley.chessweb.model
 
com.webstersmalley.chessweb.model.pieces - package com.webstersmalley.chessweb.model.pieces
 
com.webstersmalley.chessweb.view - package com.webstersmalley.chessweb.view
 
com.webstersmalley.chessweb.web - package com.webstersmalley.chessweb.web
 
ContentsController - Class in com.webstersmalley.chessweb.web
Controller for the contents frame.
ContentsController() - Constructor for class com.webstersmalley.chessweb.web.ContentsController
 
createNewGameSession(PlayableGame) - Method in class com.webstersmalley.chessweb.game.GameFactory
 

D

DisclaimerController - Class in com.webstersmalley.chessweb.web
Controller for the disclaimer frame.
DisclaimerController() - Constructor for class com.webstersmalley.chessweb.web.DisclaimerController
 

E

equals(Object) - Method in class com.webstersmalley.chessweb.model.Position
Whether two objects are equal.

F

formBackingObject(HttpServletRequest) - Method in class com.webstersmalley.chessweb.web.MoveFormController
Creates a form backing object (a Move).

G

GameController - Class in com.webstersmalley.chessweb.web
Main controller servlet for the game.
GameController() - Constructor for class com.webstersmalley.chessweb.web.GameController
 
GameFactory - Class in com.webstersmalley.chessweb.game
 
GameFactory() - Constructor for class com.webstersmalley.chessweb.game.GameFactory
 
GameFramesetController - Class in com.webstersmalley.chessweb.web
Controller for the game frameset.
GameFramesetController() - Constructor for class com.webstersmalley.chessweb.web.GameFramesetController
 
GameSession - Interface in com.webstersmalley.chessweb.game
A session of a particular game.
getAlgebraicNotation() - Method in class com.webstersmalley.chessweb.model.Position
Returns the algebraic notation of this position.
getAt(Position) - Method in class com.webstersmalley.chessweb.model.Board
Return the piece at a given position.
getAt(String, int) - Method in class com.webstersmalley.chessweb.model.Board
Return the piece at a given location.
getBoard() - Method in class com.webstersmalley.chessweb.model.MoveValidator
 
getBoard() - Method in class com.webstersmalley.chessweb.web.GameController
 
getBoard() - Method in class com.webstersmalley.chessweb.web.HistoryController
 
getChecked() - Method in class com.webstersmalley.chessweb.model.Board
Returns a message indicating if either team is checked.
getColour() - Method in class com.webstersmalley.chessweb.model.Square
Returns the cell's colour.
getCreated() - Method in interface com.webstersmalley.chessweb.game.GameSession
When was it created.
getCreated() - Method in class com.webstersmalley.chessweb.model.Move
 
getDestination() - Method in class com.webstersmalley.chessweb.model.Move
 
getDisplayName() - Method in interface com.webstersmalley.chessweb.game.User
 
getDisplayName() - Method in class com.webstersmalley.chessweb.game.UserImpl
 
getFile() - Method in class com.webstersmalley.chessweb.model.Position
 
getFileNumber() - Method in class com.webstersmalley.chessweb.model.Position
Return the file number.
getGame() - Method in interface com.webstersmalley.chessweb.game.GameSession
The game type.
getHeight() - Method in class com.webstersmalley.chessweb.model.Board
Accessor for the height variable.
getHtmlContents() - Method in class com.webstersmalley.chessweb.model.Square
Returns the contents as a String suitable for rendering in HTML.
getIcon() - Method in class com.webstersmalley.chessweb.model.Piece
Returns the htmlName.
getMaximumMagnitude() - Method in class com.webstersmalley.chessweb.model.Move
Returns the maximum magnitude.
getModulus() - Method in class com.webstersmalley.chessweb.model.Position
Return the modulus of the square number.
getMoveHistory() - Method in class com.webstersmalley.chessweb.model.Board
 
getMoves() - Method in class com.webstersmalley.chessweb.model.MoveHistory
Gets the moves.
getName() - Method in interface com.webstersmalley.chessweb.game.PlayableGame
Returns the name of the game.
getName() - Method in class com.webstersmalley.chessweb.model.Piece
Get the name of this piece.
getNextTurn() - Method in class com.webstersmalley.chessweb.model.Board
 
getPawnIncrement() - Method in class com.webstersmalley.chessweb.model.Team
 
getPawnStartingRank() - Method in class com.webstersmalley.chessweb.model.Team
 
getPiece() - Method in class com.webstersmalley.chessweb.model.Square
 
getPlayerMap() - Method in interface com.webstersmalley.chessweb.game.GameSession
The map of players (in Team, Player format).
getPosition() - Method in class com.webstersmalley.chessweb.model.Square
 
getRank() - Method in class com.webstersmalley.chessweb.model.Position
 
getSource() - Method in class com.webstersmalley.chessweb.model.Move
 
getSquares() - Method in class com.webstersmalley.chessweb.model.Board
Returns the collection of all Squares.
getStartingPositions() - Method in class com.webstersmalley.chessweb.model.Piece
Returns the starting positions.
getTeam() - Method in class com.webstersmalley.chessweb.model.Piece
 
getTeamName() - Method in class com.webstersmalley.chessweb.model.Square
Returns the team name of the piece, or null if none.
getTeams() - Method in interface com.webstersmalley.chessweb.game.PlayableGame
Returns a collection of all assignable teams.
getUser() - Method in interface com.webstersmalley.chessweb.game.Player
 
getUsername() - Method in interface com.webstersmalley.chessweb.game.User
 
getUsername() - Method in class com.webstersmalley.chessweb.game.UserImpl
 
getWidth() - Method in class com.webstersmalley.chessweb.model.Board
Accessor for the width variable.
getXDifference() - Method in class com.webstersmalley.chessweb.model.Move
Return the xDifference.
getXMagnitude() - Method in class com.webstersmalley.chessweb.model.Move
Return the xMagnitude.
getYDifference() - Method in class com.webstersmalley.chessweb.model.Move
Return the yDifference.
getYDirection() - Method in class com.webstersmalley.chessweb.model.Move
Returns the direction (magnitude 1) of the y direction.
getYMagnitude() - Method in class com.webstersmalley.chessweb.model.Move
Return the yMagnitude.

H

handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.BannerController
Handles the request & returns a model/view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.ContentsController
Handles the request & returns a model/view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.DisclaimerController
Handles the request & returns a model/view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.GameController
Handles the request and forwards onto a model and view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.GameFramesetController
Handles the request & returns a model/view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.HistoryController
Handles the request & returns a model/view.
handleRequest(HttpServletRequest, HttpServletResponse) - Method in class com.webstersmalley.chessweb.web.RefreshAllController
Handles the request & returns a model/view.
hashCode() - Method in class com.webstersmalley.chessweb.model.Position
Get the hash code of the Object.
hasPiece() - Method in class com.webstersmalley.chessweb.model.Square
Returns whether a Piece is in this cell.
HistoryController - Class in com.webstersmalley.chessweb.web
Controller for the history frame.
HistoryController() - Constructor for class com.webstersmalley.chessweb.web.HistoryController
 

I

InvalidMoveException - Exception in com.webstersmalley.chessweb.model
Used to represent an invalid move.
InvalidMoveException(String) - Constructor for exception com.webstersmalley.chessweb.model.InvalidMoveException
Creates a new InvalidMoveException.
isBlackChecked() - Method in class com.webstersmalley.chessweb.model.Board
 
isCastling() - Method in class com.webstersmalley.chessweb.model.Move
 
isDiagonal() - Method in class com.webstersmalley.chessweb.model.Move
Whether the move is a diagonal.
isJumper() - Method in class com.webstersmalley.chessweb.model.Piece
 
isOnBoard(Position) - Method in class com.webstersmalley.chessweb.model.Board
Checks whether a given position is on the board.
isPathClear(Board) - Method in class com.webstersmalley.chessweb.model.Move
Calculates whether the path is clear.
isStraight() - Method in class com.webstersmalley.chessweb.model.Move
Whether the move is straight.
isWhiteChecked() - Method in class com.webstersmalley.chessweb.model.Board
 

K

King - Class in com.webstersmalley.chessweb.model.pieces
King class.
King(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.King
Constructs the King.
Knight - Class in com.webstersmalley.chessweb.model.pieces
Knight class.
Knight(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.Knight
Constructs the Knight.

M

Move - Class in com.webstersmalley.chessweb.model
Encapsulates a move.
Move(Position, Position) - Constructor for class com.webstersmalley.chessweb.model.Move
Constructor.
MoveFormController - Class in com.webstersmalley.chessweb.web
Controller for the move form.
MoveFormController() - Constructor for class com.webstersmalley.chessweb.web.MoveFormController
 
MoveHistory - Class in com.webstersmalley.chessweb.model
A history of moves.
MoveHistory() - Constructor for class com.webstersmalley.chessweb.model.MoveHistory
Constructor for the move history.
moveIsATake(Position, Board) - Method in class com.webstersmalley.chessweb.model.Piece
Whether the proposed move is a take.
movePiece(Move) - Method in class com.webstersmalley.chessweb.model.Board
Move a piece from one position to another.
MoveValidator - Class in com.webstersmalley.chessweb.model
Validator class for a new move.
MoveValidator() - Constructor for class com.webstersmalley.chessweb.model.MoveValidator
 

O

onSubmit(Object) - Method in class com.webstersmalley.chessweb.web.MoveFormController
Handles the form submission.

P

Pawn - Class in com.webstersmalley.chessweb.model.pieces
Pawn class.
Pawn(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.Pawn
Constructs the Pawn.
Piece - Class in com.webstersmalley.chessweb.model
Represents an individual chess piece.
Piece(Team) - Constructor for class com.webstersmalley.chessweb.model.Piece
Constructs a new Piece.
place(Position, Piece) - Method in class com.webstersmalley.chessweb.model.Board
Place a piece at a position.
PlayableGame - Interface in com.webstersmalley.chessweb.game
Represents a playable game type.
Player - Interface in com.webstersmalley.chessweb.game
 
Position - Class in com.webstersmalley.chessweb.model
Simple coordinate system for the position of a piece on the board.
Position() - Constructor for class com.webstersmalley.chessweb.model.Position
Default constructor.
Position(String, int) - Constructor for class com.webstersmalley.chessweb.model.Position
Convenience constructor.
Position(String) - Constructor for class com.webstersmalley.chessweb.model.Position
Convenience constructor.
Position(int, int) - Constructor for class com.webstersmalley.chessweb.model.Position
Create a Position based on file and rank (0-index) coordinates.

Q

Queen - Class in com.webstersmalley.chessweb.model.pieces
Queen class.
Queen(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.Queen
Constructs the Queen.

R

RefreshAllController - Class in com.webstersmalley.chessweb.web
Controller for the refresh all frame.
RefreshAllController() - Constructor for class com.webstersmalley.chessweb.web.RefreshAllController
 
Rook - Class in com.webstersmalley.chessweb.model.pieces
Rook class.
Rook(Team) - Constructor for class com.webstersmalley.chessweb.model.pieces.Rook
Constructs the Rook.

S

setAlgebraicNotation(String) - Method in class com.webstersmalley.chessweb.model.Position
Resets the position based on the algebraic notation.
setBlackChecked(boolean) - Method in class com.webstersmalley.chessweb.model.Board
 
setBoard(Board) - Method in class com.webstersmalley.chessweb.model.MoveValidator
 
setBoard(Board) - Method in class com.webstersmalley.chessweb.web.GameController
 
setBoard(Board) - Method in class com.webstersmalley.chessweb.web.HistoryController
 
setBoard(Board) - Method in class com.webstersmalley.chessweb.web.MoveFormController
 
setCastling(boolean) - Method in class com.webstersmalley.chessweb.model.Move
 
setDestination(Position) - Method in class com.webstersmalley.chessweb.model.Move
 
setFile(String) - Method in class com.webstersmalley.chessweb.model.Position
 
setHeight(int) - Method in class com.webstersmalley.chessweb.model.Board
Mutator for the height variable.
setJumper(boolean) - Method in class com.webstersmalley.chessweb.model.Piece
 
setNextTurn(Team) - Method in class com.webstersmalley.chessweb.model.Board
 
setPiece(Piece) - Method in class com.webstersmalley.chessweb.model.Square
 
setPosition(Position) - Method in class com.webstersmalley.chessweb.model.Square
 
setRank(int) - Method in class com.webstersmalley.chessweb.model.Position
 
setSource(Position) - Method in class com.webstersmalley.chessweb.model.Move
 
setStartingPositions(String) - Method in class com.webstersmalley.chessweb.model.Piece
Sets the startign positions.
setTeam(Team) - Method in class com.webstersmalley.chessweb.model.Piece
 
setup() - Method in class com.webstersmalley.chessweb.model.Board
Sets up the Square objects.
setWhiteChecked(boolean) - Method in class com.webstersmalley.chessweb.model.Board
 
setWidth(int) - Method in class com.webstersmalley.chessweb.model.Board
Mutator for the width variable.
SimpleStringView - Class in com.webstersmalley.chessweb.view
 
SimpleStringView(Board) - Constructor for class com.webstersmalley.chessweb.view.SimpleStringView
 
Square - Class in com.webstersmalley.chessweb.model
Represents a cell on a chess board.
Square(Position) - Constructor for class com.webstersmalley.chessweb.model.Square
Construct a new cell.
StandardBoard - Class in com.webstersmalley.chessweb.model
Represents a standard chess board.
StandardBoard() - Constructor for class com.webstersmalley.chessweb.model.StandardBoard
Construct a new Standard chess board.
supports(Class) - Method in class com.webstersmalley.chessweb.model.MoveValidator
Checks which classes are supported by this validator.

T

Team - Class in com.webstersmalley.chessweb.model
Which team (black, white) the piece is on.
toString() - Method in class com.webstersmalley.chessweb.model.Move
Returns a String representation of the move.
toString() - Method in class com.webstersmalley.chessweb.model.Position
Returns a String representation.
toString() - Method in class com.webstersmalley.chessweb.model.Team
Returns the name of the team.
toString() - Method in class com.webstersmalley.chessweb.view.SimpleStringView
 

U

User - Interface in com.webstersmalley.chessweb.game
 
UserImpl - Class in com.webstersmalley.chessweb.game
 
UserImpl() - Constructor for class com.webstersmalley.chessweb.game.UserImpl
 

V

validate(Object, Errors) - Method in class com.webstersmalley.chessweb.model.MoveValidator
Checks whether the move is valid or not.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.Piece
Validate a direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.Bishop
Validates the direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.King
Validates the direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.Knight
Validates the direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.Pawn
Validates the direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.Queen
Validates the direction.
validateDirection(Move, Board) - Method in class com.webstersmalley.chessweb.model.pieces.Rook
Validates the direction.
validateMove(Move, Board) - Method in class com.webstersmalley.chessweb.model.Piece
Validate a move.
validateTake(Move, Board) - Method in class com.webstersmalley.chessweb.model.Piece
Validate a take.

W

WHITE - Static variable in class com.webstersmalley.chessweb.model.Team
White team.
WHITE_BISHOP - Static variable in class com.webstersmalley.chessweb.model.Piece
White Bishop Piece.
WHITE_KING - Static variable in class com.webstersmalley.chessweb.model.Piece
White King Piece.
WHITE_KNIGHT - Static variable in class com.webstersmalley.chessweb.model.Piece
White Knight Piece.
WHITE_PAWN - Static variable in class com.webstersmalley.chessweb.model.Piece
White Pawn Piece.
WHITE_QUEEN - Static variable in class com.webstersmalley.chessweb.model.Piece
White Queen Piece.
WHITE_ROOK - Static variable in class com.webstersmalley.chessweb.model.Piece
White Rook Piece.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Bishop
White starting positions.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.King
White starting positions.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Knight
White starting positions.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Pawn
White starting positions.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Queen
White starting positions.
WHITE_STARTING_POSITIONS - Static variable in class com.webstersmalley.chessweb.model.pieces.Rook
White starting positions.

A B C D E F G H I K M O P Q R S T U V W

Copyright © 2005 Webster Smalley. All Rights Reserved.