Class RadianceFontSet
- java.lang.Object
-
- org.pushingpixels.radiance.common.internal.font.RadianceFontSet
-
-
Field Summary
Fields Modifier and Type Field Description private FontSetsystemFontSetThe default system font set.
-
Constructor Summary
Constructors Constructor Description RadianceFontSet(FontSet systemFontSet)Creates a new Radiance font set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.plaf.FontUIResourcegetControlFont()Returns the font used for all dialog components.javax.swing.plaf.FontUIResourcegetMenuFont()Returns the font used for the menu.javax.swing.plaf.FontUIResourcegetMessageFont()Returns the font used for message dialogs.private javax.swing.plaf.FontUIResourcegetRadianceFont(javax.swing.plaf.FontUIResource systemFont)Returns Radiance-specific font resource.private javax.swing.plaf.FontUIResourcegetRadianceFont(javax.swing.plaf.FontUIResource systemFont, boolean toBoldify, int extraFontSize)Returns Radiance-specific font resource.javax.swing.plaf.FontUIResourcegetSmallFont()Returns the font used for tool tips.javax.swing.plaf.FontUIResourcegetTitleFont()Returns the font used for the title label in TitledBorders.javax.swing.plaf.FontUIResourcegetWindowTitleFont()Returns the font used for frame titles.
-
-
-
Field Detail
-
systemFontSet
private FontSet systemFontSet
The default system font set.
-
-
Constructor Detail
-
RadianceFontSet
public RadianceFontSet(FontSet systemFontSet)
Creates a new Radiance font set.- Parameters:
systemFontSet- The default system font set.
-
-
Method Detail
-
getRadianceFont
private javax.swing.plaf.FontUIResource getRadianceFont(javax.swing.plaf.FontUIResource systemFont)
Returns Radiance-specific font resource.- Parameters:
systemFont- The default system font.- Returns:
- Radiance-specific font resource.
-
getRadianceFont
private javax.swing.plaf.FontUIResource getRadianceFont(javax.swing.plaf.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
public javax.swing.plaf.FontUIResource getControlFont()
Description copied from interface:FontSetReturns the font used for all dialog components.- Specified by:
getControlFontin interfaceFontSet- Returns:
- the font used for all dialog components.
-
getMenuFont
public javax.swing.plaf.FontUIResource getMenuFont()
Description copied from interface:FontSetReturns the font used for the menu.- Specified by:
getMenuFontin interfaceFontSet- Returns:
- the font used for the menu.
-
getMessageFont
public javax.swing.plaf.FontUIResource getMessageFont()
Description copied from interface:FontSetReturns the font used for message dialogs.- Specified by:
getMessageFontin interfaceFontSet- Returns:
- the font used for message dialogs.
-
getSmallFont
public javax.swing.plaf.FontUIResource getSmallFont()
Description copied from interface:FontSetReturns the font used for tool tips.- Specified by:
getSmallFontin interfaceFontSet- Returns:
- the tool tip font.
-
getTitleFont
public javax.swing.plaf.FontUIResource getTitleFont()
Description copied from interface:FontSetReturns the font used for the title label in TitledBorders. This font is also used by JGoodies Forms titles, and titled separators.- Specified by:
getTitleFontin interfaceFontSet- Returns:
- the font used for TitledBorder titles.
-
getWindowTitleFont
public javax.swing.plaf.FontUIResource getWindowTitleFont()
Description copied from interface:FontSetReturns the font used for frame titles.- Specified by:
getWindowTitleFontin interfaceFontSet- Returns:
- the font used for frame titles.
-
-