|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alee.utils.FontUtils
public class FontUtils
This class provides a set of utilities to work with fonts.
Constructor Summary | |
---|---|
FontUtils()
|
Method Summary | |
---|---|
static void |
clearDerivedFontsCache()
Clears derived fonts cache. |
static java.awt.Font |
getCachedDerivedFont(java.awt.Font font,
int style,
int size)
Get derived font by font, style and size. |
protected static DerivedFontAttributes |
getFontAttribute(java.awt.Font font,
int style,
int size)
Returns derived font attributes object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontUtils()
Method Detail |
---|
public static void clearDerivedFontsCache()
public static java.awt.Font getCachedDerivedFont(java.awt.Font font, int style, int size)
font
- original fontstyle
- new font stylesize
- new font size
protected static DerivedFontAttributes getFontAttribute(java.awt.Font font, int style, int size)
font
- original fontstyle
- new font stylesize
- new font size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |