public interface FxmlNode
FxmlNode is any element that has a graphical representation and a controller.
It is described by 2 elements :
- FxmlFile : The file which describes its DOM
- FxmlController class : The class from which we shoudl create its controller (its logic)
While you might expect a separate stylesheet element to be related, it actually is not bound to the component but to
the window in JavaFX. See Stages.setStylesheet(Stage, FxmlStylesheet) for styling a window.
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FxmlController> |
getControllerClass() |
FxmlFile |
getFile() |
FxmlFile getFile()
Class<? extends FxmlController> getControllerClass()
Copyright © 2018. All rights reserved.