Class DtThemeUtil


  • public class DtThemeUtil
    extends Object
    Util methods for themes.
    • Method Detail

      • getCurrentThemeId

        public static String getCurrentThemeId()
        Returns current theme Id.
        Returns:
        current theme Id. Can't return null.
      • isDarkThemeActive

        public static boolean isDarkThemeActive()
        Returns true if current theme is dark.
        Returns:
        true if current theme is dark.
      • getIconPath

        public static String getIconPath​(String path)
        Returns themed icon path.
        Parameters:
        path - - default icon path. Cannot be null.
        Returns:
        themed icon path. Cannot return null.