| java.lang.Object com.jgoodies.looks.FontSets
FontSets | final public class FontSets (Code) | | Provides predefined FontSet implementations.
author: Karsten Lentzsch version: $Revision: 1.11 $ See Also: FontSet See Also: FontPolicy See Also: FontPolicies since: 2.0 |
createDefaultFontSet | public static FontSet createDefaultFontSet(Font controlFont)(Code) | | Creates and returns a FontSet that is based only
on the given control font. The small font will be
derived from the control font; all other fonts
returned are the control font.
Parameters: controlFont - the font used for all controls a FontSet based on the given fonts throws: NullPointerException - if the control font is null |
createDefaultFontSet | public static FontSet createDefaultFontSet(Font controlFont, Font menuFont)(Code) | | Creates and returns a FontSet that is based on the given control font
and menu font. The small font will be derived from the control font;
all other fonts return, except the menu font, are the control font.
Parameters: controlFont - the font used for all controls Parameters: menuFont - the font used for the menu bar and menu items a FontSet based on the given fonts throws: NullPointerException - if the control font is null |
createDefaultFontSet | public static FontSet createDefaultFontSet(Font controlFont, Font menuFont, Font titleFont)(Code) | | Creates and returns a FontSet that is based on the given control font
and menu font. The small font will be derived from the control font;
all other fonts return, except the menu font, are the control font.
Parameters: controlFont - the font used for all controls Parameters: menuFont - the font used for the menu bar and menu items Parameters: titleFont - used for TitledBorder, titles and titled separators a FontSet based on the given fonts throws: NullPointerException - if the control font is null |
createDefaultFontSet | public static FontSet createDefaultFontSet(Font controlFont, Font menuFont, Font titleFont, Font messageFont, Font smallFont, Font windowTitleFont)(Code) | | Creates and returns a FontSet for the given fonts.
If a font is null , it uses the control font as
fallback. If the small font is null it will
be derived from the control font.
Parameters: controlFont - used for all controls Parameters: menuFont - used for the menu bar and menu items Parameters: titleFont - used for TitledBorder, titles and titled separators Parameters: messageFont - used for OptionPanes Parameters: smallFont - used for tool tips and similar components Parameters: windowTitleFont - used for internal frame window titles a FontSet based on the given fonts throws: NullPointerException - if the control font is null |
getLogicalFontSet | public static FontSet getLogicalFontSet()(Code) | | Lazily creates and returns the FontSet that returns
the logical fonts specified by the Java runtime environment.
a FontSets that uses the logical fonts specifiedby the Java environment |
|
|