Class ViewImage

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

public class ViewImage
extends NavBarController
implements javafx.fxml.Initializable
Controls the buttons and changeable elements on view_.fxml, a page where get a more detailed view of a image
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 current clicked image 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 -