Class DtBrowsersThemingUtil

java.lang.Object
com._1c.g5.v8.dt.theming.ui.util.DtBrowsersThemingUtil

public final class DtBrowsersThemingUtil extends Object
A theming utilities for browsers in EDT.
  • Method Details

    • infilterThemeToCss

      public static String infilterThemeToCss(String cssText)
      Infilters preferences colors to css.
      Parameters:
      cssText - css text with preferences colors identifiers. Preferences color constants should be in the format "?parameter?". The following types of parameters are available:
      • ?color-colorConstant? — color from theme ColorRegistry in "#RRGGBB" hex format.
      • ?,color-colorConstant? — color from theme ColorRegistry in "r,g,b" comma-separated format.
      • ?pcolor-colorConstant? — color from theming.ui plugin IPreferenceStore in "#RRGGBB" hex format.
      • ?,pcolor-colorConstant? — color from theming.ui plugin IPreferenceStore in "r,g,b" comma-separated format.
      • ?? — escaped '?' character
      Never null
      Returns:
      css text with infiltered colors. Never null
    • getJavaFxBrowserScrollbarsStyle

      public static String getJavaFxBrowserScrollbarsStyle()
      Gets browser scrollbars css style for WebView browser.
      Returns:
      java FX web view scrollbars css style. Never null
    • getSwtBrowserScrollbarsStyle

      public static String getSwtBrowserScrollbarsStyle()
      Gets browser scrollbars css style for Browser browser.
      Returns:
      SWT browser scrollbars css style. Never null