Class ScaledFontSet
java.lang.Object
org.pushingpixels.substance.internal.fonts.ScaledFontSet
- All Implemented Interfaces:
FontSet
Wrapper around the base Substance font set. Is used to create larger /
smaller font sets.
-
Constructor Summary
ConstructorsConstructorDescriptionScaledFontSet(FontSet delegate, float scaleFactor) Creates a wrapper font set. -
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.Returns the font used for tool tips.Returns the font used for the title label in TitledBorders.Returns the font used for internal frame titles.
-
Constructor Details
-
ScaledFontSet
Creates a wrapper font set.- Parameters:
delegate- The base Substance font set.scaleFactor- Scale factor. Should be positive.
-
-
Method Details
-
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
Description copied from interface:FontSetReturns the font used for the menu.- Specified by:
getMenuFontin interfaceFontSet- Returns:
- the font used for the menu.
-
getMessageFont
Description copied from interface:FontSetReturns the font used for message dialogs.- Specified by:
getMessageFontin interfaceFontSet- Returns:
- the font used for message dialogs.
-
getSmallFont
Description copied from interface:FontSetReturns the font used for tool tips.- Specified by:
getSmallFontin interfaceFontSet- Returns:
- the tool tip font.
-
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
Description copied from interface:FontSetReturns the font used for internal frame titles.- Specified by:
getWindowTitleFontin interfaceFontSet- Returns:
- the font used for internal frame titles.
-