java.lang.Object
org.jhotdraw8.theme.AbstractTheme
org.jhotdraw8.theme.atlantafx.AbstractAtlantaFXTheme
- All Implemented Interfaces:
Theme
- Direct Known Subclasses:
NordDarkTheme,NordLightTheme,PrimerDarkTheme,PrimerLightTheme
Abstract base class for AtlantaFX themes.
References:
- AtlantaFX, Copyright (c) 2022 mkpaz, MIT License
- github.com
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAtlantaFXTheme(String name, String appearance, String uaStylesheetUrl) -
Method Summary
Modifier and TypeMethodDescriptionGenerates a user agent stylesheet that can be set onApplication.setUserAgentStylesheet(String).Methods inherited from class org.jhotdraw8.theme.AbstractTheme
getAppearance, getName
-
Constructor Details
-
AbstractAtlantaFXTheme
-
-
Method Details
-
createUserAgentStylesheet
Description copied from interface:ThemeGenerates a user agent stylesheet that can be set onApplication.setUserAgentStylesheet(String).The stylesheet must be a URL. If the stylesheet is generated dynamically, the stylesheet can be a String that is converted into a Data URL. See
Theme.toDataUrl(String).- Parameters:
params- parameters for generating the stylesheet- Returns:
- a stylesheet URL
-