Module org.example

Class ChessBoardController

java.lang.Object
cz.cvut.fel.pjv.ChessBoardController

public class ChessBoardController
extends java.lang.Object
Class to representation game controller.
  • Constructor Summary

    Constructors
    Constructor Description
    ChessBoardController()  
  • Method Summary

    Modifier and Type Method Description
    void initialize()
    Initialize windows with the Chess
    void loadPGNGame​(javafx.event.ActionEvent actionEvent)  
    void savePGNGame​(javafx.event.ActionEvent actionEvent)  
    void setChessBoard()
    Methode sets icons of pieces to the chessboard.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChessBoardController

      public ChessBoardController()
  • Method Details

    • initialize

      public void initialize() throws java.lang.Exception
      Initialize windows with the Chess
      Throws:
      java.lang.Exception
    • setChessBoard

      public void setChessBoard() throws java.lang.Exception
      Methode sets icons of pieces to the chessboard.
      Throws:
      java.lang.Exception
    • loadPGNGame

      public void loadPGNGame​(javafx.event.ActionEvent actionEvent) throws java.io.IOException, java.text.ParseException
      Throws:
      java.io.IOException
      java.text.ParseException
    • savePGNGame

      public void savePGNGame​(javafx.event.ActionEvent actionEvent) throws java.io.IOException
      Throws:
      java.io.IOException