Constructor | Description |
---|---|
ScaledFontSet(FontSet delegate,
float scaleFactor) |
Creates a wrapper font set.
|
Modifier and Type | Method | Description |
---|---|---|
javax.swing.plaf.FontUIResource |
getControlFont() |
Returns the font used for all dialog components.
|
javax.swing.plaf.FontUIResource |
getMenuFont() |
Returns the font used for the menu.
|
javax.swing.plaf.FontUIResource |
getMessageFont() |
Returns the font used for message dialogs.
|
javax.swing.plaf.FontUIResource |
getSmallFont() |
Returns the font used for tool tips.
|
javax.swing.plaf.FontUIResource |
getTitleFont() |
Returns the font used for the title label in TitledBorders.
|
javax.swing.plaf.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 javax.swing.plaf.FontUIResource getControlFont()
FontSet
getControlFont
in interface FontSet
public javax.swing.plaf.FontUIResource getMenuFont()
FontSet
getMenuFont
in interface FontSet
public javax.swing.plaf.FontUIResource getMessageFont()
FontSet
getMessageFont
in interface FontSet
public javax.swing.plaf.FontUIResource getSmallFont()
FontSet
getSmallFont
in interface FontSet
public javax.swing.plaf.FontUIResource getTitleFont()
FontSet
getTitleFont
in interface FontSet
public javax.swing.plaf.FontUIResource getWindowTitleFont()
FontSet
getWindowTitleFont
in interface FontSet