Class RadianceFontSet
java.lang.Object
org.pushingpixels.radiance.common.internal.font.RadianceFontSet
- All Implemented Interfaces:
FontSet
Font set implementation for Radiance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the font used for all dialog components.Returns the font used for the menu.Returns the font used for message dialogs.private FontUIResource
getRadianceFont
(FontUIResource systemFont) Returns Radiance-specific font resource.private FontUIResource
getRadianceFont
(FontUIResource systemFont, boolean toBoldify, int extraFontSize) Returns Radiance-specific font resource.Returns the font used for tool tips.Returns the font used for the title label in TitledBorders.Returns the font used for frame titles.
-
Field Details
-
systemFontSet
The default system font set.
-
-
Constructor Details
-
RadianceFontSet
Creates a new Radiance font set.- Parameters:
systemFontSet
- The default system font set.
-
-
Method Details
-
getRadianceFont
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
- Iftrue
, the original font (the first parameter) is boldified.extraFontSize
- Extra font size in pixels.- Returns:
- Radiance-specific font resource.
-
getControlFont
Description copied from interface:FontSet
Returns the font used for all dialog components.- Specified by:
getControlFont
in interfaceFontSet
- Returns:
- the font used for all dialog components.
-
getMenuFont
Description copied from interface:FontSet
Returns the font used for the menu.- Specified by:
getMenuFont
in interfaceFontSet
- Returns:
- the font used for the menu.
-
getMessageFont
Description copied from interface:FontSet
Returns the font used for message dialogs.- Specified by:
getMessageFont
in interfaceFontSet
- Returns:
- the font used for message dialogs.
-
getSmallFont
Description copied from interface:FontSet
Returns the font used for tool tips.- Specified by:
getSmallFont
in interfaceFontSet
- Returns:
- the tool tip font.
-
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 interfaceFontSet
- Returns:
- the font used for TitledBorder titles.
-
getWindowTitleFont
Description copied from interface:FontSet
Returns the font used for frame titles.- Specified by:
getWindowTitleFont
in interfaceFontSet
- Returns:
- the font used for frame titles.
-