Top Fields Constructors Methods
com.airhacks.afterburner.views

public Class ViewLoaderResult

extends Object
Class Inheritance
Imports
java.util.Optional, .ResourceBundle, javafx.scene.Node, .Parent, javafx.scene.control.Dialog, .DialogPane

Field Summary

Modifier and TypeField and Description
private ResourceBundle
private final Object
private final Parent

Constructor Summary

AccessConstructor and Description
public
ViewLoaderResult(Parent view, Object controller, ResourceBundle bundle)

Method Summary

Modifier and TypeMethod and Description
public Object
public ResourceBundle

Returns:

an existing resource bundle, or null
getResourceBundle
()

public Parent
public Optional<Node>

Returns:

the first child of the AnchorPane
getViewWithoutRootContainer
()

Scene Builder creates for each FXML document a root container.

public void
public <T> void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bundleback to summary
private ResourceBundle bundle
controllerback to summary
private final Object controller
viewback to summary
private final Parent view

Constructor Detail

ViewLoaderResultback to summary
public ViewLoaderResult(Parent view, Object controller, ResourceBundle bundle)

Method Detail

getControllerback to summary
public Object getController()
getResourceBundleback to summary
public ResourceBundle getResourceBundle()
Returns:ResourceBundle

an existing resource bundle, or null

getViewback to summary
public Parent getView()
getViewWithoutRootContainerback to summary
public Optional<Node> getViewWithoutRootContainer()

Scene Builder creates for each FXML document a root container. This method omits the root container (e.g. AnchorPane) and gives you the access to its first child.

Returns:Optional<Node>

the first child of the AnchorPane

setAsContentback to summary
public void setAsContent(DialogPane dialogPane)
setAsDialogPaneback to summary
public <T> void setAsDialogPane(Dialog<T> dialog)