Class LaF

java.lang.Object
se.datadosen.util.LaF

public class LaF extends Object
Helper utility class to facilitate LookAndFeel related stuff
Since:
20.3
  • Constructor Details

    • LaF

      public LaF()
  • Method Details

    • getThemes

      public static Map<String,com.formdev.flatlaf.IntelliJTheme> getThemes()
    • isAnyOf

      public static boolean isAnyOf(String... ids)
      Parameters:
      ids - , names or parts of names like "Aqua", "Windows", "Darcula" or "FlatLaf - FlatLaf Dark"
      Returns:
      true if any part of the listed ID strings is part of the ID of the current look and feel
    • isDark

      public static boolean isDark()
      Replacing Platform.isDarkLookAndFeel (Platform is installed in JAlbum.jar, which makes it harder to maintain)
      Returns:
    • getNameFromClassName

      public static String getNameFromClassName(String lafClassName)
    • getClassNameFromName

      public static String getClassNameFromName(String lafName)