You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
217317751JiayeChen edited this page Apr 1, 2024
·
1 revision
ClaimsListGUIController
Controller for the claims list GUI.
Author: Jiaye Chen
Fields:
claimsList: ListView for displaying the list of claims.
claimLabel: Label for displaying the currently selected claim.
openedClaims: Array of strings representing dummy opened claims.
currentOpenedClaim: String representing the currently selected claim.
Methods:
initialize(URL arg0, ResourceBundle arg1): Method invoked to initialize the controller. It populates the claims list and adds a listener to handle the selection of claims.
back(ActionEvent e): Event handler method for navigating back to the previous menu. It is triggered when the user clicks the back button.
Usage Notes:
This class controls the functionality of the claims list GUI, allowing users to view a list of opened claims. The user can select a claim from the list, and the selected claim will be displayed in the claimLabel. Additionally, the user can navigate back to the previous menu by clicking the back button.