All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- accept(File, String).
Method in class kpalin.alabra.FileIO
- Controls what files to show on dialog and what not.
- actionPerformed(ActionEvent).
Method in class kpalin.alabra.ChessMenuListener
- Here we figure out what menuoption the user klicked and call proper
handler.
- actionPerformed(ActionEvent).
Method in class kpalin.alabra.ChessPlay
- Listens for the reset button on ctrlPanel.
- addImage(int, int, Image).
Static method in class kpalin.alabra.Piece
- This is ment for Applet and Application to add the images upon
initialization.
- addMove(int, StringBuffer).
Method in class kpalin.alabra.CtrlPanel
- This adds a half-move to historylist.
- addShare(int, int).
Method in class kpalin.alabra.CtrlPanel
- Adds a timeshare to given player if he has reached given
movecount.
- adjustTimeDelta().
Method in class kpalin.alabra.ChessTimer
- Sets the timeDelta-attribute to correct direction.
- allert().
Method in class kpalin.alabra.ClockListen
- Alerts all oberservers about reached deadline.
- appBase.
Variable in class kpalin.alabra.ChessMenuListener
- This is the on going chessgame which can be controled
via menus.
- AppForm(String, String, ChessSettings).
Constructor for class kpalin.alabra.AppForm
- Creates new application window.
- appName.
Static variable in class kpalin.alabra.CommonStaticData
- Name of the program.
- AppWinCtrl().
Constructor for class kpalin.alabra.AppWinCtrl
-
- BISHOP.
Static variable in class kpalin.alabra.Piece
-
- bishopMoves.
Static variable in class kpalin.alabra.Piece
- These are the relative coordinates where bishop can move.
- BLACK.
Static variable in class kpalin.alabra.Piece
-
- BLACKTILE.
Static variable in class kpalin.alabra.BoardTile
- Tile color for black tiles.
- blocksThreatAt(int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- An assistant method to validate moves.
- blocksThreatAt(int, int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- An assistant method to validate moves.
- board.
Variable in class kpalin.alabra.ChessSettings
- Memory representation of the chessboard.
- BoardGrid(MouseListener).
Constructor for class kpalin.alabra.BoardGrid
- Creates new chessboard.
- BoardTile(int, int).
Constructor for class kpalin.alabra.BoardTile
- Creates new empty Tile.
- canBishopMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if bishop on the tile can move.
- canFortify.
Variable in class kpalin.alabra.ChessPlay
- Possibility of fortification.
- canFortify.
Variable in class kpalin.alabra.ChessSettings
- Wheather fortification is possible.
- canKingMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if king on the tile can move.
- canKnightMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if knight on the tile can move.
- canMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if a piece in specific tile can move.
- canPawnMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if pawn on the tile can move.
- canQueenMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if queen on the tile can move.
- canRookMove(BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks if rook on the tile can move.
- canSideMove(int).
Method in class kpalin.alabra.ChessPlay
- Checks if specified player can move any pieces.
- canSimpleMove(BoardTile, int, int[][]).
Method in class kpalin.alabra.ChessPlay
- This checks if bishop,knight,rook or queen can move.
- changeTurn().
Method in class kpalin.alabra.ChessPlay
- Takes care of the boring routines when we change turn.
- checkBlockers.
Variable in class kpalin.alabra.ChessPlay
- This is the data about tiles that can be moved to block a check.
- checkForMate(int).
Method in class kpalin.alabra.ChessPlay
- Checks if side is on mate.
- ChessAppMB(AppForm).
Constructor for class kpalin.alabra.ChessAppMB
- Nothing special here.
- chessGame.
Variable in class kpalin.alabra.AppForm
- This is the real gamething.
- chessGame.
Variable in class kpalin.alabra.Jchess
- The actual game stuff.
- ChessMenuListener(AppForm).
Constructor for class kpalin.alabra.ChessMenuListener
- Creates new ChessMenuListener.
- ChessPlay(ChessSettings).
Constructor for class kpalin.alabra.ChessPlay
- Creates new chess play object.
- ChessSettings().
Constructor for class kpalin.alabra.ChessSettings
- Creates new ChessSettings.
- ChessTimer().
Constructor for class kpalin.alabra.ChessTimer
- This is useless constructor for programmer but Externalizable-interface
uses this (public no-arg constructor).
- ChessTimer(String, int, int, Observer).
Constructor for class kpalin.alabra.ChessTimer
- Creates a new chess timer for specific player.
- clearChanged().
Method in class kpalin.alabra.ClockListen
-
- clearChanged().
Method in class kpalin.alabra.PromotionListen
-
- ClockListen(int, Observer).
Constructor for class kpalin.alabra.ClockListen
-
- COLUMNS.
Static variable in class kpalin.alabra.ChessSettings
- Number of columns on a chessboard
- CommonStaticData().
Constructor for class kpalin.alabra.CommonStaticData
-
- ctrl.
Variable in class kpalin.alabra.ChessPlay
- The panel that holds all control etc.
- CtrlPanel(ChessCtrlCallback, int, int).
Constructor for class kpalin.alabra.CtrlPanel
- Creates new controls.
- dim.
Variable in class kpalin.alabra.PromotionImage
- Dimensions of the image.
- DRAW.
Static variable in class kpalin.alabra.CtrlPanel
-
- DRAW.
Static variable in class kpalin.alabra.Piece
-
- ERRMESG.
Static variable in class kpalin.alabra.Piece
- Errormessage body
- exitApp(int).
Method in class kpalin.alabra.AppForm
- This is only method that can kill the application
- FileExit(ActionListener).
Constructor for class kpalin.alabra.FileExit
- Creates new menuitems and adds listener.
- FileIO(Frame).
Constructor for class kpalin.alabra.FileIO
- Creates new object for handling game saving and loading.
- FileIO(Frame, Object).
Constructor for class kpalin.alabra.FileIO
- Creates new object for handling game saving and loading.
- FileLoad(ActionListener).
Constructor for class kpalin.alabra.FileLoad
- Creates new menuitems and adds listener.
- FileMenu(ActionListener).
Constructor for class kpalin.alabra.FileMenu
- Creates the menu and adds menuitems to it.
- FileNew(ActionListener).
Constructor for class kpalin.alabra.FileNew
- Creates new menuitems and adds listener.
- FileSave().
Constructor for class kpalin.alabra.FileSave
- Creates new FileSave object without listeners.
- FileSave(ActionListener).
Constructor for class kpalin.alabra.FileSave
- Creates new menuitems and adds listener.
- FileSaveAs().
Constructor for class kpalin.alabra.FileSaveAs
- Creates new FileSave object without listeners.
- FileSaveAs(ActionListener).
Constructor for class kpalin.alabra.FileSaveAs
- Creates new menuitems and adds listener.
- fileSuffix.
Variable in class kpalin.alabra.FileIO
- Identification suffix of the files.
- finishPromotion(PromotionListen).
Method in class kpalin.alabra.ChessPlay
- Finalizes the pawn promotion.
- fmenu.
Variable in class kpalin.alabra.ChessAppMB
- File menu.
- fontName.
Variable in class kpalin.alabra.ChessSettings
- Name of the font to be used in Control Panel.
- fontSize.
Variable in class kpalin.alabra.ChessSettings
- Size of the font to be used in Control Panel.
- FONTSIZEARG.
Static variable in class kpalin.alabra.Jchess
- Constant for name of fontsize commandline argument.
- FONTSIZEPARAM.
Static variable in class kpalin.alabra.Jchess
- Constant for name of FontSize parameter.
- fortClone().
Method in class kpalin.alabra.ChessSettings
-
- frameMenu.
Variable in class kpalin.alabra.AppForm
- Menubar for the window.
- FROM.
Variable in class kpalin.alabra.PromotionListen
-
- GAMEOVER.
Static variable in class kpalin.alabra.Piece
- This is added to turn-variable so that WHITE+GAMEOVER is white victory
and BLACK+GAMEOVER is black victory.
- gameOver(int).
Method in class kpalin.alabra.ChessPlay
- Sets the game to game over-state.
- getColumnCode().
Method in class kpalin.alabra.BoardTile
- Helps with move-history keeping.
- getFileName().
Method in class kpalin.alabra.FileIO
-
- getFont().
Method in class kpalin.alabra.ChessSettings
- Returns the font to be used in Control Panel.
- getIcon().
Static method in class kpalin.alabra.Piece
- This gives the white pawn (used as an icon in application).
- getImage().
Method in class kpalin.alabra.Piece
- Get image of the piece.
- getLoadName().
Method in class kpalin.alabra.FileIO
- Asks the name of the game to be load.
- getMoveLimit().
Method in class kpalin.alabra.ChessSettings
-
- getNChecks(int, int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Finds all checks.
- getObject().
Method in class kpalin.alabra.FileIO
- Returns the target of this object.
- getObservable().
Method in class kpalin.alabra.PawnPromote
-
- getPiece().
Method in class kpalin.alabra.BoardTile
- Accessor for piece on this tile.
- getPiece().
Method in class kpalin.alabra.PromotionListen
- Returns the Piece in this object.
- getPiece(int, int).
Method in class kpalin.alabra.BoardGrid
- An accessor to fetch piece in specific location.
- getPlayer().
Method in class kpalin.alabra.ClockListen
- Gets the players id whos clock has elapsed.
- getSaveName().
Method in class kpalin.alabra.FileIO
-
- getSide().
Method in class kpalin.alabra.Piece
- Query side of the piece.
- getStartSide().
Method in class kpalin.alabra.ChessSettings
- Gives the starting side.
- getTile(int, int).
Method in class kpalin.alabra.BoardGrid
- An accessor to fetch specific tile.
- getTileDim().
Static method in class kpalin.alabra.ChessSettings
- Gives the tile dimension.
- getTime().
Method in class kpalin.alabra.ChessTimer
- Returns elapsed time in seconds.
- getTimeLimit().
Method in class kpalin.alabra.ChessSettings
-
- getTimes().
Method in class kpalin.alabra.CtrlPanel
-
- getType().
Method in class kpalin.alabra.Piece
- Query type of the piece.
- getTypeChar().
Method in class kpalin.alabra.Piece
- Query type of the piece.
- GIFDIRARG.
Static variable in class kpalin.alabra.Jchess
- Constant for name of gifdir commandline argument.
- GIFURLPARAM.
Static variable in class kpalin.alabra.Jchess
- Constant for name of GifURL parameter.
- grid.
Variable in class kpalin.alabra.ChessPlay
- The panel that holds the chess board.
- hasChanged().
Method in class kpalin.alabra.ClockListen
-
- hasChanged().
Method in class kpalin.alabra.PromotionListen
-
- haveData.
Variable in class kpalin.alabra.PromotionListen
-
- history.
Variable in class kpalin.alabra.CtrlPanel
- List to show move history.
- IDSTRS.
Static variable in class kpalin.alabra.BoardGrid
- These are names of the columns.
- IMAGENAME.
Static variable in class kpalin.alabra.Piece
- These are the names of the gif-files that hold the pieceimages.
- init().
Method in class kpalin.alabra.Jchess
- Run at applet startup.
- initBottom().
Method in class kpalin.alabra.CtrlPanel
-
- initSet.
Variable in class kpalin.alabra.ChessPlay
- Initial settings got with an implementation specific way.
- initStanding().
Method in class kpalin.alabra.ChessSettings
- Resets the board to normal initial standing.
- initTop(ChessCtrlCallback, int).
Method in class kpalin.alabra.CtrlPanel
- This initializes the top-panel.
- isCheckPos(int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks for checks.
- isCurrentThread().
Method in class kpalin.alabra.ChessTimer
- Checks if we are testing from current thread.
- Jchess().
Constructor for class kpalin.alabra.Jchess
-
- killAll().
Method in class kpalin.alabra.ChessPlay
- Tries to clean up after stoping applet.
- killAll().
Method in class kpalin.alabra.CtrlPanel
- Kills timers.
- KING.
Static variable in class kpalin.alabra.Piece
-
- kingTiles.
Variable in class kpalin.alabra.BoardGrid
- These are the tiles of the kings.
- kingTiles(int).
Method in class kpalin.alabra.BoardGrid
- Fast way of find out kings position.
- KNIGHT.
Static variable in class kpalin.alabra.Piece
-
- knightMoves.
Static variable in class kpalin.alabra.Piece
- These are the relative coordinates where knight can move.
- knightThreat(Vector, int, int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks for threatening knights.
- loadData().
Method in class kpalin.alabra.FileIO
- Loads the object from the savefile.
- loadFile().
Method in class kpalin.alabra.FileIO
- Asks the name of the game to be load and loads it.
- loadGame().
Method in class kpalin.alabra.AppForm
- Loads a saved file.
- LOADTITLE.
Variable in class kpalin.alabra.FileIO
-
- LONGFORT.
Static variable in class kpalin.alabra.Piece
-
- main(String[]).
Static method in class kpalin.alabra.Jchess
- Application takes one command line parameter: name of the game file to be
loaded.
- makeMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Validate and make the move.
- menuListen.
Variable in class kpalin.alabra.ChessAppMB
- This listens menuactions.
- mouseClicked(MouseEvent).
Method in class kpalin.alabra.ChessPlay
- This is the callback method for the BoardTiles.
- mouseClicked(MouseEvent).
Method in class kpalin.alabra.PawnPromote
- This one handles the promotion selection.
- mouseEntered(MouseEvent).
Method in class kpalin.alabra.ChessPlay
-
- mouseEntered(MouseEvent).
Method in class kpalin.alabra.PawnPromote
-
- mouseExited(MouseEvent).
Method in class kpalin.alabra.ChessPlay
-
- mouseExited(MouseEvent).
Method in class kpalin.alabra.PawnPromote
-
- mousePressed(MouseEvent).
Method in class kpalin.alabra.ChessPlay
-
- mousePressed(MouseEvent).
Method in class kpalin.alabra.PawnPromote
-
- mouseReleased(MouseEvent).
Method in class kpalin.alabra.ChessPlay
-
- mouseReleased(MouseEvent).
Method in class kpalin.alabra.PawnPromote
-
- moveLimit.
Variable in class kpalin.alabra.ChessSettings
- Number of moves that must be made in timeLimit.
- moveLimit.
Variable in class kpalin.alabra.CtrlPanel
- Number of moves before next timeslize.
- movePiece(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Moves the piece to target without any
checking of validity of the move.
- movePiece(BoardTile, BoardTile, Piece).
Method in class kpalin.alabra.ChessPlay
- Moves the piece to target without any
checking of validity of the move.
- MOVESINPERIODARG.
Static variable in class kpalin.alabra.Jchess
- Number of moves that must be made in timeperiod.
- MOVESINPERIODPARAM.
Static variable in class kpalin.alabra.Jchess
- Number of moves that must be made in timeperiod.
- name.
Static variable in class kpalin.alabra.FileExit
- Name of the menuitem.
- name.
Static variable in class kpalin.alabra.FileLoad
- Name of the menuitem.
- name.
Static variable in class kpalin.alabra.FileMenu
- Name of the menu.
- name.
Static variable in class kpalin.alabra.FileNew
- Name of the menuitem.
- name.
Static variable in class kpalin.alabra.FileSave
- Name of the menuitem.
- name.
Static variable in class kpalin.alabra.FileSaveAs
- Name of the menuitem.
- newTimeSlize().
Method in class kpalin.alabra.ChessTimer
- Gives a new timeslize for this timer.
- nf.
Variable in class kpalin.alabra.ChessTimer
- This avoids fetching NumberFormat information every second.
- noOfMoves(int).
Method in class kpalin.alabra.CtrlPanel
- Finds out number of made moves.
- notified.
Variable in class kpalin.alabra.ClockListen
- Has this object been notified.
- otherThreat(Vector, int, int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks for threatening rooks, bishops, and queen.
- p.
Variable in class kpalin.alabra.PromotionImage
- The piece to which the pawn is to be promoted.
- paint(Graphics).
Method in class kpalin.alabra.BoardTile
- Here we draw the image of the piece on the tile if there is one.
- paint(Graphics).
Method in class kpalin.alabra.PromotionImage
-
- pause().
Method in class kpalin.alabra.AppForm
- Pause if iconified.
- pause().
Method in class kpalin.alabra.ChessPlay
- Pause the timers.
- pause().
Method in class kpalin.alabra.CtrlPanel
- Pauses both timers.
- PAWN.
Static variable in class kpalin.alabra.Piece
-
- PawnPromote(int, BoardTile, BoardTile).
Constructor for class kpalin.alabra.PawnPromote
- Creates new PawnPromotion dialog.
- pawnThreat(Vector, int, int, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks for threatening pawns.
- piece.
Variable in class kpalin.alabra.BoardTile
- Piece on this tile.
- piece.
Variable in class kpalin.alabra.PawnPromote
- Here we store the selected piece.
- Piece(int, int).
Constructor for class kpalin.alabra.Piece
- Creates a new piece, with specified type and side.
- pieceAt(int, int).
Method in class kpalin.alabra.ChessSettings
- Returns a Piece at specified position of the board.
- PIECES.
Static variable in class kpalin.alabra.Piece
- Images of all pieces.
- playerId.
Variable in class kpalin.alabra.ClockListen
- Id of the player whose clock this affects.
- pPromotion.
Variable in class kpalin.alabra.ChessPlay
- This is an instance of pawn promotion dialog.
- prevTarget.
Variable in class kpalin.alabra.ChessPlay
- The previous move.
- processClicks.
Variable in class kpalin.alabra.ChessPlay
- Process click-events.
- promObserv.
Variable in class kpalin.alabra.PawnPromote
- This is kind of bufferclass.
- promotePawn(int, BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Starts pawnPromotion procedure.
- promoteTo.
Variable in class kpalin.alabra.PromotionListen
-
- PromotionImage(Piece, Dimension, MouseListener).
Constructor for class kpalin.alabra.PromotionImage
- Creates new PromotionImage canvas.
- PromotionListen(BoardTile, BoardTile).
Constructor for class kpalin.alabra.PromotionListen
- Creates new Observable PromotionListen.
- QUEEN.
Static variable in class kpalin.alabra.Piece
-
- QUICKCHESSARG.
Static variable in class kpalin.alabra.Jchess
- Use applied Quickchess rules.
- QUICKCHESSPARAM.
Static variable in class kpalin.alabra.Jchess
- Use applied Quickchess rules.
- readExternal(ObjectInput).
Method in class kpalin.alabra.BoardGrid
- Reading BoardGrid from ObjectInput.
- readExternal(ObjectInput).
Method in class kpalin.alabra.ChessTimer
- Used for reading saved ChessTimer.
- readExternal(ObjectInput).
Method in class kpalin.alabra.Piece
- Reading Piece from ObjectInput.
- readImages().
Method in class kpalin.alabra.Jchess
- Here we start reading the Images.
- readImages(String).
Method in class kpalin.alabra.AppForm
- Here we start reading the Images.
- recordGameOver(int).
Method in class kpalin.alabra.ChessPlay
- Adds result of the game to movelist, if game is over.
- reset().
Method in class kpalin.alabra.ChessTimer
- Resets the timer to stop at timeBase
- resetAll().
Method in class kpalin.alabra.CtrlPanel
- Resets the control information.
- resetGame().
Method in class kpalin.alabra.AppForm
- Reseting the game
- resetGame().
Method in class kpalin.alabra.ChessPlay
- Reset the game
- resume().
Method in class kpalin.alabra.ChessTimer
- Resumes the time counting.
- resumeTimer(int).
Method in class kpalin.alabra.CtrlPanel
- Resumes the timer for specified side.
- ROOK.
Static variable in class kpalin.alabra.Piece
-
- rookMoves.
Static variable in class kpalin.alabra.Piece
- These are the relative coordinates where rook can move.
- ROWS.
Static variable in class kpalin.alabra.ChessSettings
- Number of rows on a chessboard
- rsetButton.
Variable in class kpalin.alabra.CtrlPanel
- The reset-button.
- run().
Method in class kpalin.alabra.ChessTimer
- This controls the timers.
- saveData().
Method in class kpalin.alabra.FileIO
- Saves game with a given name.
- savefile.
Variable in class kpalin.alabra.FileIO
- Name of the file where current game has been saved.
- saveFile().
Method in class kpalin.alabra.FileIO
-
- saveFileAs().
Method in class kpalin.alabra.FileIO
-
- saveGame.
Variable in class kpalin.alabra.AppForm
- An object controlling saving and loading of the game.
- saveGame().
Method in class kpalin.alabra.AppForm
- Saves this game with old name or asks a new one if this is a first save.
- saveGameAs().
Method in class kpalin.alabra.AppForm
- Asks user a name of a file where to save this game.
- saveObject.
Variable in class kpalin.alabra.FileIO
- Object that this object controls.
- SAVETITLE.
Variable in class kpalin.alabra.FileIO
-
- selected.
Variable in class kpalin.alabra.BoardTile
- Wheather this tile is selected.
- SELECTEDTILE.
Static variable in class kpalin.alabra.BoardTile
- Tile color for selected tile.
- setBgColor().
Method in class kpalin.alabra.BoardTile
- Sets normal background color for a tile.
- setBoard(ChessSettings).
Method in class kpalin.alabra.BoardGrid
- Sets the grid to the standing defined in ChessSettings.
- setChanged().
Method in class kpalin.alabra.ClockListen
-
- setChanged().
Method in class kpalin.alabra.PromotionListen
-
- setFileName(String).
Method in class kpalin.alabra.FileIO
-
- setFont(Font).
Method in class kpalin.alabra.CtrlPanel
- We don't allow to change font in historylists.
- setFontName(String).
Method in class kpalin.alabra.ChessSettings
- Set new name for Control Panel font.
- setFontSize(int).
Method in class kpalin.alabra.ChessSettings
- Set new size for Control Panel font.
- setFortify(int, int, boolean).
Method in class kpalin.alabra.ChessSettings
-
- setMoveLimit(int).
Method in class kpalin.alabra.ChessSettings
- Sets move limit to moves, or 0 if moves<0.
- setMoveLimit(int).
Method in class kpalin.alabra.CtrlPanel
-
- setObject(Object).
Method in class kpalin.alabra.FileIO
- Sets new object for this FileIO to handle.
- setPiece(int, int, Piece).
Method in class kpalin.alabra.BoardGrid
- An accessor to control pieces on the board.
- setPiece(Piece).
Method in class kpalin.alabra.BoardTile
- Accessor for piece on this tile.
- setPiece(Piece).
Method in class kpalin.alabra.PromotionListen
- Sets selected Piece to this object and notifies observers.
- setPieceTo(int, int, Piece).
Method in class kpalin.alabra.ChessSettings
- Sets a given Piece to a given location.
- setQuickChess().
Method in class kpalin.alabra.ChessSettings
- Sets quickchess rules.
- setSelected().
Method in class kpalin.alabra.BoardTile
- Switch for selection.
- setSelected(boolean).
Method in class kpalin.alabra.BoardTile
- Changes selection status.
- setStartSide(int).
Method in class kpalin.alabra.ChessSettings
- Sets the beginning side.
- setTileDim(Dimension).
Static method in class kpalin.alabra.ChessSettings
- Sets the dimensions of board tiles.
- setTimeBase(int).
Method in class kpalin.alabra.ChessTimer
- Sets new time base.
- setTimeLimit(int).
Method in class kpalin.alabra.ChessSettings
- Sets new time limit to time or 0 if time<0.
- SHORTFORT.
Static variable in class kpalin.alabra.Piece
-
- side.
Variable in class kpalin.alabra.ChessTimer
- Side of the player.
- side.
Variable in class kpalin.alabra.Piece
- Side of the piece.
- start().
Method in class kpalin.alabra.Jchess
- Unpauses the game when we come back to view.
- startSide.
Variable in class kpalin.alabra.ChessSettings
- Side which takes first move
- startTile.
Variable in class kpalin.alabra.ChessPlay
- The tile where is the piece to be moved.
- stop().
Method in class kpalin.alabra.ChessTimer
- Stops the counter permanently.
- stop().
Method in class kpalin.alabra.Jchess
- This stops the game when applet is taken of the screen.
- suspend().
Method in class kpalin.alabra.ChessTimer
- Suspends the counter for now.
- th.
Variable in class kpalin.alabra.ChessTimer
- Thread controling the clock.
- tileDim.
Static variable in class kpalin.alabra.ChessSettings
- Dimensions of a tile.
- tiles.
Variable in class kpalin.alabra.BoardGrid
- Board tiles where you can place the pieces.
- TILESIZEARG.
Static variable in class kpalin.alabra.Jchess
- Constant for name of TileSize commandline argument.
- TILESIZEPARAM.
Static variable in class kpalin.alabra.Jchess
- Constant for name of TileSize parameter.
- timeBase.
Variable in class kpalin.alabra.ChessTimer
- Starting time of the timers.
- timeDelta.
Variable in class kpalin.alabra.ChessTimer
- The counters are added this value every second.
- timeElapsed.
Variable in class kpalin.alabra.ChessTimer
- Signaling interface towards Observer.
- timeLabel.
Variable in class kpalin.alabra.ChessTimer
- The time shown on the panel.
- timeLimit.
Variable in class kpalin.alabra.ChessSettings
- Time limit, in which must moveLimit moves be made.
- TIMELIMITARG.
Static variable in class kpalin.alabra.Jchess
- Length of the timeperiod.
- TIMELIMITPARAM.
Static variable in class kpalin.alabra.Jchess
- Length of the timeperiod.
- timers.
Variable in class kpalin.alabra.CtrlPanel
- These are the timers for black and white.
- timeSec.
Variable in class kpalin.alabra.ChessTimer
- Integer representation of the time.
- TITLE.
Static variable in class kpalin.alabra.PawnPromote
- The title of the dialog.
- TO.
Variable in class kpalin.alabra.PromotionListen
-
- top.
Variable in class kpalin.alabra.CtrlPanel
- The panel holding timers and reset-button.
- toString().
Method in class kpalin.alabra.BoardTile
-
- toString().
Method in class kpalin.alabra.ChessTimer
- Time formater for Label.
- toString().
Method in class kpalin.alabra.Piece
-
- type.
Variable in class kpalin.alabra.Piece
- Type of the piece.
- TYPECHARS.
Static variable in class kpalin.alabra.Piece
- These are the characters to identify the pieces
- unpause().
Method in class kpalin.alabra.AppForm
- Unpause if de-iconified.
- unpause().
Method in class kpalin.alabra.ChessPlay
- Unpause the timers.
- unpause(int).
Method in class kpalin.alabra.CtrlPanel
- This unpauses the timers.
- update(Observable, Object).
Method in class kpalin.alabra.ChessPlay
- Listener for pawn promotion.
- validBishopMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a Bishop.
- validEnPassant(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks validity of en'passant-move
- validFort(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a fortification.
- validKingMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a King.
- validKnightMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a Knight.
- validPawnMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a Pawn.
- validQueenMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a Queen.
- validRookMove(BoardTile, BoardTile).
Method in class kpalin.alabra.ChessPlay
- Checks the validity of a move for a Rook.
- validStraightMove(BoardTile, int, int, int).
Method in class kpalin.alabra.ChessPlay
- This is a helpper method for pieces that move straight lines and
diagonals.
- version.
Static variable in class kpalin.alabra.CommonStaticData
- Current version of the program.
- VICTORY.
Static variable in class kpalin.alabra.CtrlPanel
-
- WHITE.
Static variable in class kpalin.alabra.Piece
- Indexies for pieces
- WHITETILE.
Static variable in class kpalin.alabra.BoardTile
- Tile color for white tiles.
- whoCanBlock(BoardTile, BoardTile, int).
Method in class kpalin.alabra.ChessPlay
- Finds out the pieces that can come to block a check.
- whosTurn.
Variable in class kpalin.alabra.ChessPlay
- Whos turn is it?.
- windowClosing(WindowEvent).
Method in class kpalin.alabra.AppWinCtrl
- Clean exiting from application
- windowDeiconified(WindowEvent).
Method in class kpalin.alabra.AppWinCtrl
- Unpause when window is de-iconified.
- windowIconified(WindowEvent).
Method in class kpalin.alabra.AppWinCtrl
- Pause when application window is iconified.
- writeExternal(ObjectOutput).
Method in class kpalin.alabra.BoardGrid
- Writing BoardGrid-object to ObjectOutput.
- writeExternal(ObjectOutput).
Method in class kpalin.alabra.ChessTimer
- Used for saving this object.
- writeExternal(ObjectOutput).
Method in class kpalin.alabra.Piece
- Writing Piece-object to ObjectOutput.
- xpos.
Variable in class kpalin.alabra.BoardTile
- Position of the tile.
- ypos.
Variable in class kpalin.alabra.BoardTile
-