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.ParentUses the given string to determine and locate the corresponding .fxml file in the resource folderstatic voidStarts the App by calling the launch methodstatic voidChanges the scene to the given onevoidstart(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:
startin 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-
-