Package com.esprit.controllers.films
Class SeatSelectionController
java.lang.Object
com.esprit.controllers.films.SeatSelectionController
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 Summary
FieldsModifier and TypeFieldDescriptionprivate Client
private javafx.scene.control.Button
private MovieSession
private javafx.scene.layout.GridPane
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
confirmSelection
(javafx.event.ActionEvent event) private Seat
private void
handleSeatSelection
(javafx.scene.control.Button seatButton, Seat seat) void
initialize
(MovieSession moviesession, Client client) Initializes the JavaFX controller and sets up UI components.private void
-
Field Details
-
seatGrid
private javafx.scene.layout.GridPane seatGrid -
confirmButton
private javafx.scene.control.Button confirmButton -
moviesession
-
client
-
selectedSeats
-
-
Constructor Details
-
SeatSelectionController
public SeatSelectionController()
-
-
Method Details
-
initialize
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
-
handleSeatSelection
-
confirmSelection
- Throws:
IOException
-