Package dev.zemco.codegame.presentation
Interface IViewStylesheetProvider
- All Known Implementing Classes:
ImmutableViewStylesheetProvider
public interface IViewStylesheetProvider
Manages the stylesheets for JavaFX views.
- Author:
- Erik Zemčík
-
Method Summary
Modifier and TypeMethodDescriptiongetStylesheetsByViewId(String viewId) Provides the string URLs linking to the stylesheets assigned to the requested view.
-
Method Details
-
getStylesheetsByViewId
Provides the string URLs linking to the stylesheets assigned to the requested view. These stylesheets are usable by the content of the JavaFXscene. The view is identified by theviewIdparameter.- Parameters:
viewId- identification of the view- Returns:
- unmodifiable
listof stylesheets - Throws:
IllegalArgumentException- ifviewIdisnullor emptyUnknownViewException- if the view is not known by the provider- See Also:
-
Scene.getStylesheets()
-