Class ContentVaultController
java.lang.Object
eirb.pub.app.display.javafx.view.vault.viewer.ContentVaultController
- All Implemented Interfaces:
PropertyChangeListener,EventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHandles property changes from the model and updates the view accordingly.voidRefreshes and reloads all user data in the vault.voidsetController(AppController controller) Sets the controller for the vault content and initializes the view.
-
Constructor Details
-
ContentVaultController
public ContentVaultController()
-
-
Method Details
-
setController
Sets the controller for the vault content and initializes the view. This method also sets up listeners for window size changes and listens for property changes in the controller.- Parameters:
controller- The AppController that manages the data and interactions for this view.
-
refreshAllUserData
public void refreshAllUserData()Refreshes and reloads all user data in the vault. Clears the content panel and re-displays all user data. -
propertyChange
Handles property changes from the model and updates the view accordingly. Refreshes the user data display when specific events (e.g. add, delete, update) occur.- Specified by:
propertyChangein interfacePropertyChangeListener- Parameters:
evt- The property change event that triggered this method.
-