|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.fonts.ScaledFontSet
public class ScaledFontSet
Wrapper around the base Substance font set. Is used to create larger / smaller font sets.
Constructor Summary | |
---|---|
ScaledFontSet(FontSet delegate,
float scaleFactor)
Creates a wrapper font set. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScaledFontSet(FontSet delegate, float scaleFactor)
delegate
- The base Substance font set.scaleFactor
- Scale factor. Should be positive.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |