Home
last modified time | relevance | path

Searched refs:currentGameIndex (Results 1 – 2 of 2) sorted by relevance

/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DGameTable.java43 private int currentGameIndex = 0; // Defines which game is highligthed in the list. field in GameTable
168 int newGameIndex = currentGameIndex; in removeSelectedGames()
200 if (row == currentGameIndex) in GameTable()
231 return currentGameIndex; in getCurrentGameIndex()
238 currentGameIndex = i; in setCurrentGameIndex()
H A DJChessBoard.java166 int currentGameIndex = 0; field in JChessBoard
775 if (currentGameIndex != -1 && history.isChanged()) { in gotoGame()
777 gameTable.setPGN(currentGameIndex, history.getPGNBody()); in gotoGame()
782 int lastIndex = currentGameIndex; in gotoGame()
783 currentGameIndex = newGameIndex; in gotoGame()
784 gameTable.setSelectedIndex(currentGameIndex); in gotoGame()
785 gameTable.setCurrentGameIndex(currentGameIndex); in gotoGame()
788 … history.loadGame(gameTable.getPGN(currentGameIndex), gameTable.getSTR(currentGameIndex)); in gotoGame()
792 infoPanel.setSTR(gameTable.getSTR(currentGameIndex)); in gotoGame()
812 if (currentGameIndex != -1 && history.isChanged()) { in isFileChanged()
[all …]