public class JNIThemeInfoMacOS extends Object
| Constructor and Description |
|---|
JNIThemeInfoMacOS() |
| Modifier and Type | Method and Description |
|---|---|
static long |
createPreferenceChangeListener(Runnable callback)
Create an preference change listener.
|
static void |
deletePreferenceChangeListener(long listenerPtr)
Delete the preference change listener.
|
static Color |
getAccentColor()
Returns the current accent color.
|
static Color |
getSelectionColor()
Returns the current selection color.
|
static boolean |
isDarkThemeEnabled()
Returns whether dark mode is enabled.
|
static boolean |
isHighContrastEnabled()
Returns whether high contrast mode is enabled.
|
public static boolean isDarkThemeEnabled()
public static boolean isHighContrastEnabled()
public static Color getAccentColor()
public static Color getSelectionColor()
public static long createPreferenceChangeListener(Runnable callback)
callback - the event callback.public static void deletePreferenceChangeListener(long listenerPtr)
listenerPtr - pointer to the listener.