Class Components

java.lang.Object
it.univr.wordautomata.controller.Components

public class Components extends Object
This class is used to gather the main components of the application.
  • Method Details

    • getInstance

      public static Components getInstance()
      Returns the instance of the class.
      Returns:
      the instance of the class
    • setStage

      public void setStage(javafx.stage.Stage stage)
      Sets the stage of the application.
      Parameters:
      stage - the stage of the application
    • setScene

      public void setScene(javafx.scene.Scene scene)
      Sets the scene of the application.
      Parameters:
      scene - the scene of the application
    • setMainPanel

      public void setMainPanel(MainPanel mainPanel)
      Sets the main panel of the application.
      Parameters:
      mainPanel - the main panel of the application
    • setBottomBar

      public void setBottomBar(BottomBar bottomBar)
      Sets the bottom bar of the application.
      Parameters:
      bottomBar - the bottom bar of the application
    • setGraphPanel

      public void setGraphPanel(GraphPanel graphPanel)
      Sets the graph panel of the application.
      Parameters:
      graphPanel - the graph panel of the application
    • setContentZoomScrollPane

      public void setContentZoomScrollPane(com.brunomnsilva.smartgraph.containers.ContentZoomScrollPane contentZoomScrollPane)
      Sets the content zoom scroll pane of the application.
      Parameters:
      contentZoomScrollPane - the content zoom scroll pane of the application
    • getStage

      public javafx.stage.Stage getStage()
      Returns the stage of the application.
      Returns:
      the stage of the application
    • getScene

      public javafx.scene.Scene getScene()
      Returns the scene of the application.
      Returns:
      the scene of the application
    • getMainPanel

      public MainPanel getMainPanel()
      Returns the main panel of the application.
      Returns:
      the main panel of the application
    • getBottomBar

      public BottomBar getBottomBar()
      Returns the bottom bar of the application.
      Returns:
      the bottom bar of the application
    • getGraphPanel

      public GraphPanel getGraphPanel()
      Returns the graph panel of the application.
      Returns:
      the graph panel of the application
    • getContentZoomScrollPane

      public com.brunomnsilva.smartgraph.containers.ContentZoomScrollPane getContentZoomScrollPane()
      Returns the content zoom scroll pane of the application.
      Returns:
      the content zoom scroll pane of the application