Klasse ThemingUtil
java.lang.Object
com.flexganttfx.view.util.ThemingUtil
Utility methods for working with the active application theme.
The current implementation focuses on detecting whether AtlantaFX styling is in use.
-
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic booleanisAtlantaFXActive(Scene scene) Returnstruewhen the application is currently using an AtlantaFX theme.
-
Methodendetails
-
isAtlantaFXActive
Returnstruewhen the application is currently using an AtlantaFX theme. Detection is done by checking whether the user-agent stylesheet URL contains the string"atlantafx". No compile-time dependency on the AtlantaFX library is required.- Parameter:
scene- optional
-