public class SceneUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.Parent |
loadParent(javafx.stage.Stage stage,
String fxmlPath,
Locale locale)
A global method which will load the FXMLLoader, import the Guice and set the locale for the interface building.
|
public static javafx.scene.Parent loadParent(javafx.stage.Stage stage,
String fxmlPath,
Locale locale)
throws IOException
fxmlPath - the fxml file path to buildlocale - the locale for the localization.stage - the stage where the the loaded interface will be put.IOException - if the FXML path is wrongCopyright © 2016. All Rights Reserved.