Class LaF
java.lang.Object
se.datadosen.util.LaF
Helper utility class to facilitate LookAndFeel related stuff
- Since:
- 20.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetClassNameFromName(String lafName) static StringgetNameFromClassName(String lafClassName) static booleanstatic booleanisDark()Replacing Platform.isDarkLookAndFeel (Platform is installed in JAlbum.jar, which makes it harder to maintain)
-
Constructor Details
-
LaF
public LaF()
-
-
Method Details
-
getThemes
-
isAnyOf
- 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
-
getClassNameFromName
-