Package it.univr.wordautomata.controller
Class Components
java.lang.Object
it.univr.wordautomata.controller.Components
This class is used to gather the main components of the application.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the bottom bar of the application.com.brunomnsilva.smartgraph.containers.ContentZoomScrollPaneReturns the content zoom scroll pane of the application.Returns the graph panel of the application.static ComponentsReturns the instance of the class.Returns the main panel of the application.javafx.scene.ScenegetScene()Returns the scene of the application.javafx.stage.StagegetStage()Returns the stage of the application.voidsetBottomBar(BottomBar bottomBar) Sets the bottom bar of the application.voidsetContentZoomScrollPane(com.brunomnsilva.smartgraph.containers.ContentZoomScrollPane contentZoomScrollPane) Sets the content zoom scroll pane of the application.voidsetGraphPanel(GraphPanel graphPanel) Sets the graph panel of the application.voidsetMainPanel(MainPanel mainPanel) Sets the main panel of the application.voidsetScene(javafx.scene.Scene scene) Sets the scene of the application.voidsetStage(javafx.stage.Stage stage) Sets the stage of the application.
-
Method Details
-
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
Sets the main panel of the application.- Parameters:
mainPanel- the main panel of the application
-
setBottomBar
Sets the bottom bar of the application.- Parameters:
bottomBar- the bottom bar of the application
-
setGraphPanel
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
Returns the main panel of the application.- Returns:
- the main panel of the application
-
getBottomBar
Returns the bottom bar of the application.- Returns:
- the bottom bar of the application
-
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
-