Class FontPolicies.DefaultPlasticOnWindowsPolicy

  • All Implemented Interfaces:
    FontPolicy
    Enclosing class:
    FontPolicies

    private static final class FontPolicies.DefaultPlasticOnWindowsPolicy
    extends java.lang.Object
    implements FontPolicy
    Implements the default font lookup for the Plastic L&f family when running in a Windows environment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FontSet getFontSet()
      Looks up and returns a set of fonts that will be used by a Look&Feel to set the default fonts for its components.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPlasticOnWindowsPolicy

        private DefaultPlasticOnWindowsPolicy()
    • Method Detail

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