Class SeatSelectionController

java.lang.Object
com.esprit.controllers.films.SeatSelectionController

public class SeatSelectionController extends Object
JavaFX controller class for the RAKCHA application. Handles UI interactions and manages view logic using FXML.
Since:
1.0.0
Version:
1.0.0
Author:
RAKCHA Team
  • Field Details

    • seatGrid

      private javafx.scene.layout.GridPane seatGrid
    • confirmButton

      private javafx.scene.control.Button confirmButton
    • moviesession

      private MovieSession moviesession
    • client

      private Client client
    • selectedSeats

      private List<Seat> selectedSeats
  • Constructor Details

    • SeatSelectionController

      public SeatSelectionController()
  • Method Details

    • initialize

      public void initialize(MovieSession moviesession, Client client)
      Initializes the JavaFX controller and sets up UI components. This method is called automatically by JavaFX after loading the FXML file.
    • loadSeats

      private void loadSeats()
    • findSeat

      private Seat findSeat(List<Seat> seats, int row, int col)
    • handleSeatSelection

      private void handleSeatSelection(javafx.scene.control.Button seatButton, Seat seat)
    • confirmSelection

      private void confirmSelection(javafx.event.ActionEvent event) throws IOException
      Throws:
      IOException