|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFontCache
public class FontCache
Lookup and caches font definitions for faster retrieval
Constructor Summary | |
---|---|
FontCache()
|
Method Summary | |
---|---|
static FontCache |
getDefaultInsance()
Deprecated. Use getDefaultInstance() instead |
static FontCache |
getDefaultInstance()
Returns the default, system wide font cache |
Font |
getFont(String requestedFont)
|
void |
registerFont(Font f)
Adds the specified font in the font cache. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontCache()
Method Detail |
---|
public static FontCache getDefaultInsance()
getDefaultInstance()
instead
public static FontCache getDefaultInstance()
public Font getFont(String requestedFont)
public void registerFont(Font f)
f
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |