Class ViewAlbum

java.lang.Object
NTNU.IDATT1002.controllers.NavBarController
NTNU.IDATT1002.controllers.ViewAlbum
All Implemented Interfaces:
javafx.fxml.Initializable

public class ViewAlbum
extends NavBarController
implements javafx.fxml.Initializable
Controls the buttons and changeable elements on view_album.fxml, a page where get a more detailed view of an album
Version:
1.0 22.03.2020
  • Field Details

  • Constructor Details

  • Method Details

    • initialize

      public void initialize​(java.net.URL url, java.util.ResourceBundle resourceBundle)
      Generates content on the page based on the current album id in DataExchange.
      Specified by:
      initialize in interface javafx.fxml.Initializable
      Parameters:
      url -
      resourceBundle -
    • openPopUpImage

      public void openPopUpImage​(javafx.scene.input.MouseEvent mouseEvent)
      Makes a new stage and display the clicked image in max size
      Parameters:
      mouseEvent -
    • openPopUpMetadata

      public void openPopUpMetadata​(javafx.scene.input.MouseEvent mouseEvent)
      Makes a new stage and displays ALL metadata of the clicked image
      Parameters:
      mouseEvent -
    • createPdf

      public void createPdf​(javafx.event.ActionEvent actionEvent)
      Retrieve and display album document.
      Parameters:
      actionEvent -
    • viewOnMap

      public void viewOnMap​(javafx.event.ActionEvent actionEvent) throws java.io.IOException
      View image on the map
      Parameters:
      actionEvent -
      Throws:
      java.io.IOException