|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.looks.FontSets
public final class FontSets
Provides predefined FontSet implementations.
FontSet,
FontPolicy,
FontPolicies| Method Summary | |
|---|---|
static FontSet |
createDefaultFontSet(Font controlFont)
Creates and returns a FontSet that is based onl on the given control font. |
static FontSet |
createDefaultFontSet(Font controlFont,
Font menuFont)
Creates and returns a FontSet that is based on the given control fon and menu font. |
static FontSet |
createDefaultFontSet(Font controlFont,
Font menuFont,
Font titleFont)
Creates and returns a FontSet that is based on the given control fon and menu font. |
static FontSet |
createDefaultFontSet(Font controlFont,
Font menuFont,
Font titleFont,
Font messageFont,
Font smallFont,
Font windowTitleFont)
Creates and returns a FontSet for the given fonts. |
static FontSet |
getLogicalFontSet()
Lazily creates and returns the FontSet that return the logical fonts specified by the Java runtime environment. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FontSet createDefaultFontSet(Font controlFont)
controlFont - the font used for all controls
NullPointerException - if the control font is null
public static FontSet createDefaultFontSet(Font controlFont,
Font menuFont)
controlFont - the font used for all controlsmenuFont - the font used for the menu bar and menu items
NullPointerException - if the control font is null
public static FontSet createDefaultFontSet(Font controlFont,
Font menuFont,
Font titleFont)
controlFont - the font used for all controlsmenuFont - the font used for the menu bar and menu itemstitleFont - used for TitledBorder, titles and titled separators
NullPointerException - if the control font is null
public static FontSet createDefaultFontSet(Font controlFont,
Font menuFont,
Font titleFont,
Font messageFont,
Font smallFont,
Font windowTitleFont)
null, it uses the control font a
fallback. If the small font is null it wil
be derived from the control font.
controlFont - used for all controlsmenuFont - used for the menu bar and menu itemstitleFont - used for TitledBorder, titles and titled separatorsmessageFont - used for OptionPanessmallFont - used for tool tips and similar componentswindowTitleFont - used for internal frame window titles
NullPointerException - if the control font is nullpublic static FontSet getLogicalFontSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||