Package proseccoCoding.TLN
Class App
java.lang.Object
javafx.application.Application
proseccoCoding.TLN.App
public class App
extends javafx.application.Application
JavaFX App
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
FieldsFields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static javafx.scene.Parent
Uses the given string to determine and locate the corresponding .fxml file in the resource folderstatic void
Starts the App by calling the launch methodstatic void
Changes the scene to the given onevoid
start
(javafx.stage.Stage stage) Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Field Details
-
scene
private static javafx.scene.Scene sceneApp scene
-
-
Constructor Details
-
App
public App()
-
-
Method Details
-
start
- Specified by:
start
in classjavafx.application.Application
- Throws:
IOException
-
setRoot
Changes the scene to the given one- Parameters:
fxml
-- Throws:
IOException
-
loadFXML
Uses the given string to determine and locate the corresponding .fxml file in the resource folder- Parameters:
fxml
-- Returns:
- Parent object used to load the wanted .fxml file
- Throws:
IOException
-
main
Starts the App by calling the launch method- Parameters:
args
-
-