Module org.snapfx

Class DockThemeCatalog

java.lang.Object
org.snapfx.theme.DockThemeCatalog

public final class DockThemeCatalog extends Object
Built-in SnapFX theme catalog with stable theme names and stylesheet paths.
  • Method Details

    • getDefaultThemeName

      public static String getDefaultThemeName()
      Returns the default built-in theme name.
      Returns:
      default theme name
    • getDefaultThemeStylesheetResourcePath

      public static String getDefaultThemeStylesheetResourcePath()
      Returns the default stylesheet resource path.
      Returns:
      default stylesheet resource path
    • getAvailableThemeStylesheets

      public static Map<String,String> getAvailableThemeStylesheets()
      Returns all built-in themes as an ordered map of themeName -> stylesheetResourcePath.
      Returns:
      ordered map of theme names to stylesheet resource paths
    • getAvailableThemeNames

      public static List<String> getAvailableThemeNames()
      Returns all built-in theme names in deterministic order.
      Returns:
      ordered built-in theme names