Class ScaledFontSet
- java.lang.Object
-
- org.pushingpixels.substance.internal.fonts.ScaledFontSet
-
-
Constructor Summary
Constructors Constructor Description ScaledFontSet(FontSet delegate, float scaleFactor)Creates a wrapper font set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FontUIResourcegetControlFont()Returns the font used for all dialog components.FontUIResourcegetMenuFont()Returns the font used for the menu.FontUIResourcegetMessageFont()Returns the font used for message dialogs.FontUIResourcegetSmallFont()Returns the font used for tool tips.FontUIResourcegetTitleFont()Returns the font used for the title label in TitledBorders.FontUIResourcegetWindowTitleFont()Returns the font used for internal frame titles.
-
-
-
Constructor Detail
-
ScaledFontSet
public ScaledFontSet(FontSet delegate, float scaleFactor)
Creates a wrapper font set.- Parameters:
delegate- The base Substance font set.scaleFactor- Scale factor. Should be positive.
-
-
Method Detail
-
getControlFont
public 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 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 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 FontUIResource getSmallFont()
Description copied from interface:FontSetReturns the font used for tool tips.- Specified by:
getSmallFontin interfaceFontSet- Returns:
- the tool tip font.
-
getTitleFont
public 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 FontUIResource getWindowTitleFont()
Description copied from interface:FontSetReturns the font used for internal frame titles.- Specified by:
getWindowTitleFontin interfaceFontSet- Returns:
- the font used for internal frame titles.
-
-