Constructor | Description |
---|---|
ScaledFontSet(FontSet delegate,
float scaleFactor) |
Creates a wrapper font set.
|
Modifier and Type | Method | Description |
---|---|---|
FontUIResource |
getControlFont() |
Returns the font used for all dialog components.
|
FontUIResource |
getMenuFont() |
Returns the font used for the menu.
|
FontUIResource |
getMessageFont() |
Returns the font used for message dialogs.
|
FontUIResource |
getSmallFont() |
Returns the font used for tool tips.
|
FontUIResource |
getTitleFont() |
Returns the font used for the title label in TitledBorders.
|
FontUIResource |
getWindowTitleFont() |
Returns the font used for internal frame titles.
|
public ScaledFontSet(FontSet delegate, float scaleFactor)
delegate
- The base Substance font set.scaleFactor
- Scale factor. Should be positive.public FontUIResource getControlFont()
FontSet
getControlFont
in interface FontSet
public FontUIResource getMenuFont()
FontSet
getMenuFont
in interface FontSet
public FontUIResource getMessageFont()
FontSet
getMessageFont
in interface FontSet
public FontUIResource getSmallFont()
FontSet
getSmallFont
in interface FontSet
public FontUIResource getTitleFont()
FontSet
getTitleFont
in interface FontSet
public FontUIResource getWindowTitleFont()
FontSet
getWindowTitleFont
in interface FontSet