public final class FXMLUtils extends Object implements FXMLMessages
BAD_FXML_CONTROLLER_ANCESTOR, DEFAULT_CTRLR_CREATION_ERROR, FXML_CONTROLLER_FACTORY_ERROR, FXML_ERROR_NODE_LABEL, FXML_NODE_DOESNT_EXIST, INIT_FXML_NODE, MISSING_RESOURCE_BUNDLE
Modifier and Type | Method and Description |
---|---|
static <M extends Model> |
loadFXML(M model,
String fxmlPath)
Load a FXML component without resource bundle.
|
static <M extends Model> |
loadFXML(M model,
String fxmlPath,
String bundlePath)
Load a FXML component.
|
public static <M extends Model> FXMLComponentBase loadFXML(M model, String fxmlPath)
M
- the model type that will manage this fxml nodemodel
- the model that will manage the fxml nodefxmlPath
- the fxml string pathpublic static <M extends Model> FXMLComponentBase loadFXML(M model, String fxmlPath, String bundlePath)
M
- the model type that will manage this fxml nodemodel
- the model that will manage the fxml nodefxmlPath
- the fxml string pathbundlePath
- the bundle string pathCopyright © 2011–2016 JRebirth OSS. All rights reserved.