Class RadianceFontSet

java.lang.Object
org.pushingpixels.radiance.common.internal.font.RadianceFontSet
All Implemented Interfaces:
FontSet

public class RadianceFontSet extends Object implements FontSet
Font set implementation for Radiance.
  • Field Details

    • systemFontSet

      private FontSet systemFontSet
      The default system font set.
  • Constructor Details

    • RadianceFontSet

      public RadianceFontSet(FontSet systemFontSet)
      Creates a new Radiance font set.
      Parameters:
      systemFontSet - The default system font set.
  • Method Details

    • getRadianceFont

      private FontUIResource getRadianceFont(FontUIResource systemFont)
      Returns Radiance-specific font resource.
      Parameters:
      systemFont - The default system font.
      Returns:
      Radiance-specific font resource.
    • getRadianceFont

      private FontUIResource getRadianceFont(FontUIResource systemFont, boolean toBoldify, int extraFontSize)
      Returns Radiance-specific font resource.
      Parameters:
      systemFont - The default system font.
      toBoldify - If true, the original font (the first parameter) is boldified.
      extraFontSize - Extra font size in pixels.
      Returns:
      Radiance-specific font resource.
    • getControlFont

      public FontUIResource getControlFont()
      Description copied from interface: FontSet
      Returns the font used for all dialog components.
      Specified by:
      getControlFont in interface FontSet
      Returns:
      the font used for all dialog components.
    • getMenuFont

      public FontUIResource getMenuFont()
      Description copied from interface: FontSet
      Returns the font used for the menu.
      Specified by:
      getMenuFont in interface FontSet
      Returns:
      the font used for the menu.
    • getMessageFont

      public FontUIResource getMessageFont()
      Description copied from interface: FontSet
      Returns the font used for message dialogs.
      Specified by:
      getMessageFont in interface FontSet
      Returns:
      the font used for message dialogs.
    • getSmallFont

      public FontUIResource getSmallFont()
      Description copied from interface: FontSet
      Returns the font used for tool tips.
      Specified by:
      getSmallFont in interface FontSet
      Returns:
      the tool tip font.
    • getTitleFont

      public FontUIResource getTitleFont()
      Description copied from interface: FontSet
      Returns the font used for the title label in TitledBorders. This font is also used by JGoodies Forms titles, and titled separators.
      Specified by:
      getTitleFont in interface FontSet
      Returns:
      the font used for TitledBorder titles.
    • getWindowTitleFont

      public FontUIResource getWindowTitleFont()
      Description copied from interface: FontSet
      Returns the font used for frame titles.
      Specified by:
      getWindowTitleFont in interface FontSet
      Returns:
      the font used for frame titles.