Class FontSets.LogicalFontSet

  • All Implemented Interfaces:
    FontSet
    Enclosing class:
    FontSets

    private static final class FontSets.LogicalFontSet
    extends java.lang.Object
    implements FontSet
    Looks up and returns the logical fonts as specified by the Java runtime environment.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.swing.plaf.FontUIResource controlFont  
      private javax.swing.plaf.FontUIResource smallFont  
      private javax.swing.plaf.FontUIResource systemFont  
      private javax.swing.plaf.FontUIResource titleFont  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private LogicalFontSet()  
    • Method Summary

      All Methods Instance Methods Concrete 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 internal frame titles.
      • Methods inherited from class java.lang.Object

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

      • controlFont

        private javax.swing.plaf.FontUIResource controlFont
      • titleFont

        private javax.swing.plaf.FontUIResource titleFont
      • systemFont

        private javax.swing.plaf.FontUIResource systemFont
      • smallFont

        private javax.swing.plaf.FontUIResource smallFont
    • Constructor Detail

      • LogicalFontSet

        private LogicalFontSet()
    • Method Detail

      • getControlFont

        public javax.swing.plaf.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 javax.swing.plaf.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.
      • getTitleFont

        public javax.swing.plaf.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.
      • getSmallFont

        public javax.swing.plaf.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.
      • getMessageFont

        public javax.swing.plaf.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.
      • getWindowTitleFont

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