Interface FontSet



  • public interface FontSet
    Returns the Fonts used by a Look&Feel or theme. These Fonts must implement the UIResource marker interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.swing.plaf.FontUIResource getControlFont​()
      Returns the font used for all dialog components.
      javax.swing.plaf.FontUIResource getMenuFont​()
      Returns the font used for the menu.
      javax.swing.plaf.FontUIResource getMessageFont​()
      Returns the font used for message dialogs.
      javax.swing.plaf.FontUIResource getSmallFont​()
      Returns the font used for tool tips.
      javax.swing.plaf.FontUIResource getTitleFont​()
      Returns the font used for the title label in TitledBorders.
      javax.swing.plaf.FontUIResource getWindowTitleFont​()
      Returns the font used for frame titles.
    • Method Detail

      • getControlFont

        javax.swing.plaf.FontUIResource getControlFont​()
        Returns the font used for all dialog components.
        Returns:
        the font used for all dialog components.
      • getMenuFont

        javax.swing.plaf.FontUIResource getMenuFont​()
        Returns the font used for the menu.
        Returns:
        the font used for the menu.
      • getTitleFont

        javax.swing.plaf.FontUIResource getTitleFont​()
        Returns the font used for the title label in TitledBorders. This font is also used by JGoodies Forms titles, and titled separators.
        Returns:
        the font used for TitledBorder titles.
      • getWindowTitleFont

        javax.swing.plaf.FontUIResource getWindowTitleFont​()
        Returns the font used for frame titles.
        Returns:
        the font used for frame titles.
      • getSmallFont

        javax.swing.plaf.FontUIResource getSmallFont​()
        Returns the font used for tool tips.
        Returns:
        the tool tip font.
      • getMessageFont

        javax.swing.plaf.FontUIResource getMessageFont​()
        Returns the font used for message dialogs.
        Returns:
        the font used for message dialogs.