- All Known Implementing Classes:
FXMLPageLoader
public interface PageLoader
Interface for page loading.
-
Method Summary
Modifier and TypeMethodDescription<T> T
Get the .fxml pages controllerjavafx.scene.Parent
Load method to load fxml page.
-
Method Details
-
load
Load method to load fxml page.- Parameters:
fxmlPath
- path to .fxml mfile.- Returns:
- returns the fxml file root node.
- Throws:
IOException
- exception on failing.
-
getController
<T> T getController()Get the .fxml pages controller- Type Parameters:
T
- controller type.- Returns:
- page's controller.
-