Package Components

Class PopUpWindow


  • public final class PopUpWindow
    extends java.lang.Object
    Class that creates an universal popup window
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javafx.scene.layout.HBox DIALOG_HBOX  
      private javafx.scene.text.Text DIALOG_TEXT  
      private javafx.scene.layout.VBox DIALOG_VBOX  
      private javafx.stage.Stage DIALOG_WINDOW  
    • Constructor Summary

      Constructors 
      Constructor Description
      PopUpWindow​(javafx.stage.Stage owner, double width, double height)
      Constructor that takes in the width and height of the popup window
    • Method Summary

      Modifier and Type Method Description
      javafx.scene.layout.HBox getDialogHBox()  
      javafx.scene.text.Text getDialogText()  
      javafx.scene.layout.VBox getDialogVBox()  
      javafx.stage.Stage getDialogWindow()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DIALOG_WINDOW

        private final javafx.stage.Stage DIALOG_WINDOW
      • DIALOG_VBOX

        private final javafx.scene.layout.VBox DIALOG_VBOX
      • DIALOG_HBOX

        private final javafx.scene.layout.HBox DIALOG_HBOX
      • DIALOG_TEXT

        private final javafx.scene.text.Text DIALOG_TEXT
    • Constructor Detail

      • PopUpWindow

        public PopUpWindow​(javafx.stage.Stage owner,
                           double width,
                           double height)
        Constructor that takes in the width and height of the popup window
        Parameters:
        width - the width of the popup
        height - the height of the popup
    • Method Detail

      • getDialogWindow

        public javafx.stage.Stage getDialogWindow()
      • getDialogVBox

        public javafx.scene.layout.VBox getDialogVBox()
      • getDialogHBox

        public javafx.scene.layout.HBox getDialogHBox()
      • getDialogText

        public javafx.scene.text.Text getDialogText()