Package dev.zemco.codegame.presentation
Interface IFxmlViewSourceProvider
- All Known Implementing Classes:
ResourceFxmlViewSourceProvider
public interface IFxmlViewSourceProvider
Manages the JavaFX FXML sources for views.
- Author:
- Erik Zemčík
-
Method Summary
Modifier and TypeMethodDescriptiongetFxmlViewSourceStreamById(String viewId) Provides aninput streamwith the raw FXML source of the requested view.
-
Method Details
-
getFxmlViewSourceStreamById
Provides aninput streamwith the raw FXML source of the requested view. The view is identified by theviewIdparameter.- Parameters:
viewId- identification of the view- Returns:
- input stream with the raw FXML source
- Throws:
IllegalArgumentException- ifviewIdisnullor emptyUnknownViewException- when the view is not known by the provider
-