Klasse ThemingUtil

java.lang.Object
com.flexganttfx.view.util.ThemingUtil

public final class ThemingUtil extends Object
Utility methods for working with the active application theme. The current implementation focuses on detecting whether AtlantaFX styling is in use.
  • Methodendetails

    • isAtlantaFXActive

      public static boolean isAtlantaFXActive(Scene scene)
      Returns true when 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