Class FontPolicies.DefaultWindowsPolicy

java.lang.Object
org.pushingpixels.radiance.common.internal.font.FontPolicies.DefaultWindowsPolicy
All Implemented Interfaces:
FontPolicy
Enclosing class:
FontPolicies

private static final class FontPolicies.DefaultWindowsPolicy extends Object implements FontPolicy
Implements the default font lookup on the Windows platform.
  • Constructor Details

    • DefaultWindowsPolicy

      private DefaultWindowsPolicy()
  • Method Details

    • 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.