Index

A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept(EventVisitor) - Method in class javachess.events.ChangePlayerEvent
 
accept(EventVisitor) - Method in class javachess.events.CheckEvent
 
accept(EventVisitor) - Method in class javachess.events.CheckMateEvent
 
accept(EventVisitor) - Method in class javachess.events.DrawEvent
 
accept(EventVisitor) - Method in class javachess.events.Event
 
accept(EventVisitor) - Method in class javachess.events.PromotionEvent
 
accept(EventVisitor) - Method in class javachess.events.SoundEvent
 
accept(EventVisitor) - Method in class javachess.events.StalemateEvent
 
accept(EventVisitor) - Method in class javachess.events.UpdateBoardEvent
 
actualPlayer - Variable in class javachess.model.Game
 
add(int, int) - Method in class javachess.model.Position
 
add(Directions) - Method in class javachess.model.Position
 
add(Position) - Method in class javachess.model.Position
 
asPGN() - Method in class javachess.model.Position
Converts the position to a string representation in PGN format.
AudioPlayer - Class in javachess.audio
 
AudioPlayer() - Constructor for class javachess.audio.AudioPlayer
 

B

BiMap<T1,T2> - Class in javachess.model
A BiMap is a bidirectional map that allows for two-way lookups.
BiMap() - Constructor for class javachess.model.BiMap
 
Bishop - Class in javachess.pieces
Class representing a bishop piece in the game of chess.
Bishop(PieceColor) - Constructor for class javachess.pieces.Bishop
 
Bishop(PieceColor, Cell) - Constructor for class javachess.pieces.Bishop
 
BISHOP - Enum constant in enum class javachess.model.PieceType
 
BishopDecorator - Class in javachess.decorators
 
BishopDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.BishopDecorator
 
BLACK - Enum constant in enum class javachess.model.PieceColor
 
BLACK - Enum constant in enum class javachess.translation.Message
 
BLACK - Static variable in class javachess.model.Colors
 
BLACK_BACKGROUND - Static variable in class javachess.model.Colors
 
BLACK_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
BLUE - Static variable in class javachess.model.Colors
 
BLUE_BACKGROUND - Static variable in class javachess.model.Colors
 
BLUE_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
board - Variable in class javachess.decorators.PieceDecorator
 
Board - Class in javachess.model
Class representing a chess board.
Board() - Constructor for class javachess.model.Board
 
BotPlayer - Class in javachess.player
 
BotPlayer(Game, PieceColor, int) - Constructor for class javachess.player.BotPlayer
Constructor for BotPlayer.
BOTTOM - Enum constant in enum class javachess.decorators.Directions
 
BOTTOM_LEFT - Enum constant in enum class javachess.decorators.Directions
 
BOTTOM_RIGHT - Enum constant in enum class javachess.decorators.Directions
 

C

cannotMoveWithoutMate(PieceColor) - Method in class javachess.model.Board
Checks if the king of the given color is in checkmate.
CaseLabel - Class in javachess.view
Custom JLabel representing a case that is able to draw circles depending on where the pieces can go.
CaseLabel() - Constructor for class javachess.view.CaseLabel
 
CastlingDecorator - Class in javachess.decorators
 
CastlingDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.CastlingDecorator
 
CastlingDecorator(Piece, Board, PieceDecorator, PieceType) - Constructor for class javachess.decorators.CastlingDecorator
 
CastlingInstruction - Record Class in javachess.parser
Instruction that indicates a castling move.
CastlingInstruction(boolean, PieceColor) - Constructor for record class javachess.parser.CastlingInstruction
Creates an instance of a CastlingInstruction record class.
Cell - Class in javachess.model
Class representing a cell on the chessboard.
Cell(Board) - Constructor for class javachess.model.Cell
 
Cell(Piece, Board) - Constructor for class javachess.model.Cell
 
ChangePlayerEvent - Class in javachess.events
Event that changes the player whose turn it is.
ChangePlayerEvent(PieceColor) - Constructor for class javachess.events.ChangePlayerEvent
 
CHECK - Enum constant in enum class javachess.translation.Message
 
CheckEvent - Class in javachess.events
Event that indicates a check on the king.
CheckEvent() - Constructor for class javachess.events.CheckEvent
 
CHECKMATE - Enum constant in enum class javachess.translation.Message
 
CheckMateEvent - Class in javachess.events
Event that indicates a checkmate situation in the game.
CheckMateEvent(PieceColor) - Constructor for class javachess.events.CheckMateEvent
 
checkValidCell(Cell, Position, BiMap<Position, Cell>, ArrayList<Cell>) - Method in class javachess.decorators.PieceDecorator
Check if the next cell is valid and add it to the list of valid cells.
ChessGameMenu - Class in javachess.view
Main menu for the chess GUI game.
ChessGameMenu() - Constructor for class javachess.view.ChessGameMenu
 
Colors - Class in javachess.model
Class that contains ANSI escape codes for coloring text in the console.
Colors() - Constructor for class javachess.model.Colors
 
configParser - Variable in class javachess.model.Game
 
ConfigParser - Class in javachess.parser
Class to parse a configuration file.
ConfigParser() - Constructor for class javachess.parser.ConfigParser
 
ConfigParser(String) - Constructor for class javachess.parser.ConfigParser
 
ConsoleChessDisplay - Class in javachess.view
Non-GUI display for chess game.
ConsoleChessDisplay(Game) - Constructor for class javachess.view.ConsoleChessDisplay
 
contains(T1) - Method in class javachess.model.BiMap
Gets whether the BiMap contains a key or not.
containsReverse(T2) - Method in class javachess.model.BiMap
Gets whether the BiMap contains a value or not.
createPiece(PieceType, PieceColor) - Method in class javachess.view.GUIChessDisplay
 
CYAN - Static variable in class javachess.model.Colors
 
CYAN_BACKGROUND - Static variable in class javachess.model.Colors
 
CYAN_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 

D

DARK_GRAY_BACKGROUND - Static variable in class javachess.model.Colors
 
decorator - Variable in class javachess.model.Piece
 
Directions - Enum Class in javachess.decorators
 
displayBoard() - Method in class javachess.view.ConsoleChessDisplay
Outputs the chessboard in the console, including every position marker
DRAW - Enum constant in enum class javachess.translation.Message
 
DrawEvent - Class in javachess.events
Event that indicates a draw situation in the game.
DrawEvent(String) - Constructor for class javachess.events.DrawEvent
 
dx - Variable in enum class javachess.decorators.Directions
 
dy - Variable in enum class javachess.decorators.Directions
 

E

EASY - Enum constant in enum class javachess.translation.Message
 
ENABLE_SOUND - Enum constant in enum class javachess.translation.Message
 
ENGLISH - Enum constant in enum class javachess.translation.Language
 
ENGLISH - Enum constant in enum class javachess.translation.Message
 
EnPassantDecorator - Class in javachess.decorators
 
EnPassantDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.EnPassantDecorator
 
equals(Object) - Method in record class javachess.model.Move
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class javachess.model.Piece
 
equals(Object) - Method in class javachess.model.Position
 
equals(Object) - Method in record class javachess.parser.CastlingInstruction
Indicates whether some other object is "equal to" this one.
equals(Position) - Method in class javachess.model.Position
 
ERROR - Enum constant in enum class javachess.translation.Message
 
Event - Class in javachess.events
Abstract class representing an event in the chess game.
Event() - Constructor for class javachess.events.Event
 
EventVisitor - Interface in javachess.events
Interface for the visitor pattern used in the event system.

F

FIFTY_MOVES - Enum constant in enum class javachess.translation.Message
 
FileDownloader - Class in javachess.audio
 
FileDownloader() - Constructor for class javachess.audio.FileDownloader
 
findFile() - Method in class javachess.model.Piece
Finds the filename of the image representing the piece.
findPieceByItsFinalPosition(RegularInstruction) - Method in class javachess.model.Board
 
FRENCH - Enum constant in enum class javachess.translation.Language
 
FRENCH - Enum constant in enum class javachess.translation.Message
 
from() - Method in record class javachess.model.Move
Returns the value of the from record component.
fromFEN(String) - Method in class javachess.model.Game
Set the FEN string of the current board state.

G

Game - Class in javachess.model
Class that represents a chess game.
Game() - Constructor for class javachess.model.Game
Constructor for the Game class.
Game(boolean, int) - Constructor for class javachess.model.Game
Constructor for the Game class.
Game(Board) - Constructor for class javachess.model.Game
Constructor for the Game class.
Game(Board, boolean, int) - Constructor for class javachess.model.Game
Constructor for the Game class.
get(T1) - Method in class javachess.model.BiMap
Gets the value associated with the key.
getAmbiguity() - Method in class javachess.parser.RegularInstruction
 
getBestMove(String, int) - Method in class javachess.player.BotPlayer
Fetches the best move from Stockfish API.
getBoard() - Method in class javachess.model.Cell
 
getBoard() - Method in class javachess.model.Game
 
getCell() - Method in class javachess.model.Piece
 
getCells() - Method in class javachess.model.Board
 
getColor() - Method in class javachess.events.ChangePlayerEvent
 
getColor() - Method in class javachess.model.Piece
 
getColor() - Method in class javachess.player.BotPlayer
 
getColor() - Method in class javachess.player.HumanPlayer
 
getColor() - Method in interface javachess.player.Player
Returns the color of the player.
getCurrentPlayer() - Method in class javachess.model.Game
Get the current player.
getDecorator() - Method in class javachess.model.Piece
 
getEnglishMessage(Message) - Method in class javachess.translation.LanguageService
 
getFEN() - Method in class javachess.model.Game
Get the FEN string of the current board state.
getFEN() - Method in class javachess.model.Piece
Returns the FEN character representing the piece.
getFEN(int, PieceColor) - Method in class javachess.model.Board
Converts the current state of the board to a FEN string.
getFrom() - Method in class javachess.events.PromotionEvent
 
getGameFromPath(String) - Method in class javachess.parser.Parser
Reads a PGN file from the given path and returns its content as a string.
getHeaders(String) - Method in class javachess.parser.Parser
Parses the headers from the unparsed header string.
getIdString() - Method in class javachess.model.Board
Gets the ID string of the board.
getLanguage() - Method in class javachess.parser.ConfigParser
 
getLanguageMap() - Static method in enum class javachess.translation.Language
 
getLastMove() - Method in class javachess.model.Board
 
getMessage(Message) - Method in class javachess.translation.LanguageService
 
getMessage(Message, Map<String, String>) - Method in class javachess.translation.LanguageService
 
getMiddlePosition() - Method in record class javachess.model.Move
Gets the mean position of a move (used to quickly detect if a pawn just moved two squares).
getMove() - Method in class javachess.model.Game
 
getMove() - Method in class javachess.player.BotPlayer
 
getMove() - Method in class javachess.player.HumanPlayer
 
getMove() - Method in interface javachess.player.Player
 
getMoveFromInstructions(Instruction) - Method in class javachess.model.Board
Converts an instruction to a move.
getMoves() - Method in class javachess.parser.Parser
 
getMoves(String) - Method in class javachess.parser.Parser
Parses the moves from the unparsed moves string.
getNextCell(Cell, Directions) - Method in class javachess.model.Board
Gets the next cell in the given direction from the current cell.
getNextPlayer() - Method in class javachess.model.Game
Get the next player without changing the actual player.
getPiece() - Method in class javachess.model.Cell
 
getPieceColor() - Method in class javachess.parser.RegularInstruction
 
getPieceOriginFromMove(Position, PieceColor, PieceType) - Method in class javachess.model.Board
Gets the origin positions of pieces that can move to the given position.
getPieceType() - Method in class javachess.parser.RegularInstruction
 
getPreviousPlayer() - Method in class javachess.model.Game
Get the previous player without changing the actual player.
getPromoteTo() - Method in class javachess.parser.RegularInstruction
 
getPromoteTo(Cell) - Method in class javachess.player.BotPlayer
 
getReason() - Method in class javachess.events.DrawEvent
 
getReverse(T2) - Method in class javachess.model.BiMap
Gets the key associated with the value.
getSimplifiedFEN(PieceColor) - Method in class javachess.model.Board
 
getSound() - Method in class javachess.events.SoundEvent
 
getTo() - Method in class javachess.parser.RegularInstruction
 
getType() - Method in class javachess.model.Piece
 
getType() - Method in class javachess.pieces.Bishop
 
getType() - Method in class javachess.pieces.King
 
getType() - Method in class javachess.pieces.Knight
 
getType() - Method in class javachess.pieces.Pawn
 
getType() - Method in class javachess.pieces.Queen
 
getType() - Method in class javachess.pieces.Rook
 
getValidCells() - Method in class javachess.decorators.BishopDecorator
Get the valid cells for the bishop.
getValidCells() - Method in class javachess.decorators.CastlingDecorator
Get the valid cells for the castling move (king).
getValidCells() - Method in class javachess.decorators.EnPassantDecorator
Get the valid cells for the en passant move (pawn).
getValidCells() - Method in class javachess.decorators.KingDecorator
Get the valid cells for the king.
getValidCells() - Method in class javachess.decorators.KnightDecorator
Get the valid cells for the knight.
getValidCells() - Method in class javachess.decorators.PawnDecorator
Get the valid cells for the pawn.
getValidCells() - Method in class javachess.decorators.PieceDecorator
 
getValidCells() - Method in class javachess.decorators.RookDecorator
Get the valid cells for the rook.
getValidCellsForBoard(Piece) - Method in class javachess.model.Board
Gets all the possible cells for a piece to move to, (excluding the cells that would put the king in check).
getValue(String, String) - Method in class javachess.parser.ConfigParser
Gets a value from the configuration file.
getWinnerColor() - Method in class javachess.events.CheckMateEvent
 
getX() - Method in class javachess.model.Position
 
getY() - Method in class javachess.model.Position
 
GREEN - Static variable in class javachess.model.Colors
 
GREEN_BACKGROUND - Static variable in class javachess.model.Colors
 
GREEN_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
GUIChessDisplay - Class in javachess.view
Class representing the main window of the chess game.
GUIChessDisplay(Game) - Constructor for class javachess.view.GUIChessDisplay
 

H

HARD - Enum constant in enum class javachess.translation.Message
 
hashCode() - Method in record class javachess.model.Move
Returns a hash code value for this object.
hashCode() - Method in class javachess.model.Piece
 
hashCode() - Method in class javachess.model.Position
 
hashCode() - Method in record class javachess.parser.CastlingInstruction
Returns a hash code value for this object.
hasMoved() - Method in class javachess.model.Piece
 
HumanPlayer - Class in javachess.player
Class representing a player in the chess game.
HumanPlayer(Game, PieceColor) - Constructor for class javachess.player.HumanPlayer
 

I

idToLanguage(int) - Static method in enum class javachess.translation.Language
 
incrementPlayer() - Method in class javachess.model.Game
 
initAudios() - Static method in class javachess.audio.FileDownloader
Initializes the audio files by checking if they exist in the 'resources' folder.
initialize() - Method in class javachess.model.MoveInitializer
 
Instruction - Interface in javachess.parser
Interface representing a chess instruction.
isCheck() - Method in class javachess.parser.RegularInstruction
 
isCheckMate() - Method in class javachess.parser.RegularInstruction
 
isEmpty() - Method in class javachess.model.Cell
 
isLongCastling() - Method in record class javachess.parser.CastlingInstruction
Returns the value of the isLongCastling record component.

J

javachess.audio - package javachess.audio
 
javachess.decorators - package javachess.decorators
 
javachess.events - package javachess.events
 
javachess.model - package javachess.model
 
javachess.parser - package javachess.parser
 
javachess.pieces - package javachess.pieces
 
javachess.player - package javachess.player
 
javachess.translation - package javachess.translation
 
javachess.view - package javachess.view
 

K

keySet() - Method in class javachess.model.BiMap
Gets the key set of the BiMap.
King - Class in javachess.pieces
Class that represents a king piece in the chess game.
King(PieceColor) - Constructor for class javachess.pieces.King
 
King(PieceColor, Cell) - Constructor for class javachess.pieces.King
 
KING - Enum constant in enum class javachess.model.PieceType
 
KingDecorator - Class in javachess.decorators
 
KingDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.KingDecorator
 
Knight - Class in javachess.pieces
Class representing a knight piece in chess.
Knight(PieceColor) - Constructor for class javachess.pieces.Knight
 
Knight(PieceColor, Cell) - Constructor for class javachess.pieces.Knight
 
KNIGHT - Enum constant in enum class javachess.model.PieceType
 
KnightDecorator - Class in javachess.decorators
 
KnightDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.KnightDecorator
 

L

Language - Enum Class in javachess.translation
Enum representing the supported languages in the application.
LANGUAGE - Enum constant in enum class javachess.translation.Message
 
languageService - Variable in class javachess.model.Game
 
LanguageService - Class in javachess.translation
LanguageService is responsible for managing the language of the application.
LanguageService() - Constructor for class javachess.translation.LanguageService
 
LEFT - Enum constant in enum class javachess.decorators.Directions
 
LIGHT_GRAY_BACKGROUND - Static variable in class javachess.model.Colors
 
LOAD_FROM_FEN - Enum constant in enum class javachess.translation.Message
 
LOAD_FROM_PGN - Enum constant in enum class javachess.translation.Message
 

M

main(String[]) - Static method in class javachess.audio.FileDownloader
 
main(String[]) - Static method in class javachess.model.Game
 
main(String[]) - Static method in class javachess.player.BotPlayer
 
main(String[]) - Static method in class javachess.view.ChessGameMenu
 
main(String[]) - Static method in class javachess.view.ConsoleChessDisplay
 
MAIN_MENU - Enum constant in enum class javachess.translation.Message
 
Message - Enum Class in javachess.translation
Enum representing various messages that can be sent to the user.
move - Variable in class javachess.model.Game
 
Move - Record Class in javachess.model
Class representing a move in the chess game.
Move(Position, Position) - Constructor for record class javachess.model.Move
Creates an instance of a Move record class.
MoveInitializer - Class in javachess.model
 
MoveInitializer(ArrayList<Instruction>, Board) - Constructor for class javachess.model.MoveInitializer
 

N

NORMAL - Enum constant in enum class javachess.translation.Message
 

O

ONE_LEFT_TWO_DOWN - Enum constant in enum class javachess.decorators.Directions
 
ONE_LEFT_TWO_UP - Enum constant in enum class javachess.decorators.Directions
 
ONE_RIGHT_TWO_DOWN - Enum constant in enum class javachess.decorators.Directions
 
ONE_RIGHT_TWO_UP - Enum constant in enum class javachess.decorators.Directions
 
OPEN_PGN_FILE - Enum constant in enum class javachess.translation.Message
 

P

paintComponent(Graphics) - Method in class javachess.view.CaseLabel
 
parseMove(String, PieceColor) - Method in class javachess.parser.Parser
Parses a move string into an Instruction object.
Parser - Class in javachess.parser
Parser class that parses a PGN file and extracts the headers and moves.
Parser() - Constructor for class javachess.parser.Parser
 
Pawn - Class in javachess.pieces
Class that represents a pawn piece.
Pawn(PieceColor) - Constructor for class javachess.pieces.Pawn
 
Pawn(PieceColor, Cell) - Constructor for class javachess.pieces.Pawn
 
PAWN - Enum constant in enum class javachess.model.PieceType
 
PawnDecorator - Class in javachess.decorators
 
PawnDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.PawnDecorator
 
piece - Variable in class javachess.decorators.PieceDecorator
 
Piece - Class in javachess.model
Abstract class representing a chess piece.
Piece(PieceColor) - Constructor for class javachess.model.Piece
 
Piece(PieceColor, Cell) - Constructor for class javachess.model.Piece
 
PIECE_SET - Enum constant in enum class javachess.translation.Message
 
pieceColor() - Method in record class javachess.parser.CastlingInstruction
Returns the value of the pieceColor record component.
PieceColor - Enum Class in javachess.model
Enum representing the two colors of chess pieces.
PieceDecorator - Class in javachess.decorators
 
PieceDecorator() - Constructor for class javachess.decorators.PieceDecorator
 
PieceType - Enum Class in javachess.model
Enum representing the different types of chess pieces.
PLAY_VS_COMPUTER - Enum constant in enum class javachess.translation.Message
 
PLAY_VS_PLAYER - Enum constant in enum class javachess.translation.Message
 
playAudio(String) - Static method in class javachess.audio.AudioPlayer
Plays an audio file from the 'resources' folder.
Player - Interface in javachess.player
 
playGame() - Method in class javachess.model.Game
Main method to play the game.
Position - Class in javachess.model
Class representing a position on the chessboard.
Position(int, int) - Constructor for class javachess.model.Position
 
Position(String) - Constructor for class javachess.model.Position
Constructs a Position object from a string representation.
PROMOTE - Enum constant in enum class javachess.translation.Message
 
promoteTo - Variable in class javachess.model.Game
 
PromotionEvent - Class in javachess.events
Event that indicates a promotion of a pawn to a different piece.
PromotionEvent(Position) - Constructor for class javachess.events.PromotionEvent
 
PURPLE - Static variable in class javachess.model.Colors
 
PURPLE_BACKGROUND - Static variable in class javachess.model.Colors
 
PURPLE_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
put(T1, T2) - Method in class javachess.model.BiMap
Puts a key-value pair in the BiMap.

Q

Queen - Class in javachess.pieces
Queen class that represents the queen piece in chess.
Queen(PieceColor) - Constructor for class javachess.pieces.Queen
 
Queen(PieceColor, Cell) - Constructor for class javachess.pieces.Queen
 
QUEEN - Enum constant in enum class javachess.model.PieceType
 

R

RED - Static variable in class javachess.model.Colors
 
RED_BACKGROUND - Static variable in class javachess.model.Colors
 
RED_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
RegularInstruction - Class in javachess.parser
 
RegularInstruction(PieceColor, PieceType, Position, boolean, boolean, boolean, Character) - Constructor for class javachess.parser.RegularInstruction
 
remove(T1) - Method in class javachess.model.BiMap
Removes a key-value pair from the BiMap.
removeReverse(T2) - Method in class javachess.model.BiMap
Removes a key-value pair from the BiMap using the reverse mapping.
RESET - Static variable in class javachess.model.Colors
 
reverseKeySet() - Method in class javachess.model.BiMap
Gets the value set of the BiMap.
RIGHT - Enum constant in enum class javachess.decorators.Directions
 
Rook - Class in javachess.pieces
Class representing a rook piece in a chess game.
Rook(PieceColor) - Constructor for class javachess.pieces.Rook
 
Rook(PieceColor, Cell) - Constructor for class javachess.pieces.Rook
 
ROOK - Enum constant in enum class javachess.model.PieceType
 
RookDecorator - Class in javachess.decorators
 
RookDecorator(Piece, Board, PieceDecorator) - Constructor for class javachess.decorators.RookDecorator
 

S

save() - Method in class javachess.parser.ConfigParser
Saves the current configuration to the file.
SAVE - Enum constant in enum class javachess.translation.Message
 
SAVING_FAILED - Enum constant in enum class javachess.translation.Message
 
SELECT_DIFFICULTY - Enum constant in enum class javachess.translation.Message
 
set(int, int) - Method in class javachess.model.Position
 
setCell(Cell) - Method in class javachess.model.Piece
 
setDrawCircle(boolean) - Method in class javachess.view.CaseLabel
 
setDrawCircle(boolean, Color) - Method in class javachess.view.CaseLabel
 
setInitialPieces() - Method in class javachess.model.Board
Sets the initial pieces on the board.
setLanguage(Language) - Method in class javachess.translation.LanguageService
 
setLowerRightCornerLabel(String) - Method in class javachess.view.CaseLabel
 
setMove(Move, boolean) - Method in class javachess.model.Game
Set the move for the game.
setMove(Position, Position) - Method in class javachess.player.HumanPlayer
 
setMoved() - Method in class javachess.model.Piece
 
setPiece(Piece) - Method in class javachess.model.Cell
 
setPromoteTo(PieceType) - Method in class javachess.parser.RegularInstruction
 
SETTINGS - Enum constant in enum class javachess.translation.Message
 
SettingsPanel - Class in javachess.view
SettingsPanel class that provides a GUI for configuring game settings.
SettingsPanel(JFrame) - Constructor for class javachess.view.SettingsPanel
 
setUpperLeftCornerLabel(String) - Method in class javachess.view.CaseLabel
 
setValue(String, String) - Method in class javachess.parser.ConfigParser
Sets a value in the configuration file.
SOUND - Enum constant in enum class javachess.translation.Message
 
SoundEvent - Class in javachess.events
Event that indicates a sound to be played.
SoundEvent(String) - Constructor for class javachess.events.SoundEvent
 
SPANISH - Enum constant in enum class javachess.translation.Language
 
SPANISH - Enum constant in enum class javachess.translation.Message
 
splitParts(String) - Method in class javachess.parser.Parser
Splits the game string into headers and moves.
STALEMATE - Enum constant in enum class javachess.translation.Message
 
StalemateEvent - Class in javachess.events
Event that indicates a stalemate situation in the game.
StalemateEvent() - Constructor for class javachess.events.StalemateEvent
 

T

testConnection() - Static method in class javachess.player.BotPlayer
 
THREEFOLD_REPETITION - Enum constant in enum class javachess.translation.Message
 
to() - Method in record class javachess.model.Move
Returns the value of the to record component.
TO_PLAY - Enum constant in enum class javachess.translation.Message
 
TOP - Enum constant in enum class javachess.decorators.Directions
 
TOP_LEFT - Enum constant in enum class javachess.decorators.Directions
 
TOP_RIGHT - Enum constant in enum class javachess.decorators.Directions
 
toString() - Method in class javachess.events.StalemateEvent
 
toString() - Method in class javachess.model.BiMap
 
toString() - Method in class javachess.model.Cell
 
toString() - Method in record class javachess.model.Move
Returns a string representation of this record class.
toString() - Method in class javachess.model.Piece
 
toString() - Method in class javachess.model.Position
 
toString() - Method in record class javachess.parser.CastlingInstruction
Returns a string representation of this record class.
toString() - Method in class javachess.parser.RegularInstruction
 
TWO_LEFT_ONE_DOWN - Enum constant in enum class javachess.decorators.Directions
 
TWO_LEFT_ONE_UP - Enum constant in enum class javachess.decorators.Directions
 
TWO_RIGHT_ONE_DOWN - Enum constant in enum class javachess.decorators.Directions
 
TWO_RIGHT_ONE_UP - Enum constant in enum class javachess.decorators.Directions
 

U

update(Observable, Object) - Method in class javachess.view.ConsoleChessDisplay
 
update(Observable, Object) - Method in class javachess.view.GUIChessDisplay
 
updateBoard() - Method in class javachess.view.GUIChessDisplay
Updates the chessboard with the current state of the game.
UpdateBoardEvent - Class in javachess.events
Event that indicates an update to the board.
UpdateBoardEvent() - Constructor for class javachess.events.UpdateBoardEvent
 

V

valueOf(String) - Static method in enum class javachess.decorators.Directions
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javachess.model.PieceColor
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javachess.model.PieceType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javachess.translation.Language
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class javachess.translation.Message
Returns the enum constant of this class with the specified name.
values() - Static method in enum class javachess.decorators.Directions
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javachess.model.PieceColor
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javachess.model.PieceType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javachess.translation.Language
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class javachess.translation.Message
Returns an array containing the constants of this enum class, in the order they are declared.
visit(ChangePlayerEvent) - Method in interface javachess.events.EventVisitor
 
visit(ChangePlayerEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(ChangePlayerEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(CheckEvent) - Method in interface javachess.events.EventVisitor
 
visit(CheckEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(CheckEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(CheckMateEvent) - Method in interface javachess.events.EventVisitor
 
visit(CheckMateEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(CheckMateEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(DrawEvent) - Method in interface javachess.events.EventVisitor
 
visit(DrawEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(DrawEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(Event) - Method in interface javachess.events.EventVisitor
 
visit(PromotionEvent) - Method in interface javachess.events.EventVisitor
 
visit(PromotionEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(PromotionEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(SoundEvent) - Method in interface javachess.events.EventVisitor
 
visit(SoundEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(SoundEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(StalemateEvent) - Method in interface javachess.events.EventVisitor
 
visit(StalemateEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(StalemateEvent) - Method in class javachess.view.GUIChessDisplay
 
visit(UpdateBoardEvent) - Method in interface javachess.events.EventVisitor
 
visit(UpdateBoardEvent) - Method in class javachess.view.ConsoleChessDisplay
 
visit(UpdateBoardEvent) - Method in class javachess.view.GUIChessDisplay
 

W

WHITE - Enum constant in enum class javachess.model.PieceColor
 
WHITE - Enum constant in enum class javachess.translation.Message
 
WHITE - Static variable in class javachess.model.Colors
 
WHITE_BACKGROUND - Static variable in class javachess.model.Colors
 
WHITE_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 

Y

YELLOW - Static variable in class javachess.model.Colors
 
YELLOW_BACKGROUND - Static variable in class javachess.model.Colors
 
YELLOW_BACKGROUND_BRIGHT - Static variable in class javachess.model.Colors
 
A B C D E F G H I J K L M N O P Q R S T U V W Y 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form