Class DefaultKDEFontPolicy

java.lang.Object
org.pushingpixels.radiance.common.internal.font.DefaultKDEFontPolicy
All Implemented Interfaces:
FontPolicy

public class DefaultKDEFontPolicy extends Object implements FontPolicy
The default font policy for KDE OS.
Author:
Paranoid
  • Constructor Details

    • DefaultKDEFontPolicy

      public DefaultKDEFontPolicy()
  • Method Details

    • isKDERunning

      public static boolean isKDERunning()
      method to check if current user session is KDE
      Returns:
      true if KDE session is currently running.
    • getFontSet

      public FontSet getFontSet()
      Description copied from interface: FontPolicy
      Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.

      This method is invoked during the L&F component initialization.

      Specified by:
      getFontSet in interface FontPolicy
      Returns:
      a set of fonts used as default for the component.