|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.misc.LyResourceBundle
leon.misc.LyFonts
public class LyFonts
This class is used to manage the font resources of an application. It is based on the mechanism of LyResourceBundle.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static java.lang.String |
DEFAULT_FONT
Default font key. |
Fields inherited from class leon.misc.LyResourceBundle |
---|
PACKAGE_DIR, PROPERTIES_DIR, UPPER_CASE_KEYS_ONLY |
Constructor Summary | |
---|---|
LyFonts(LyEnvironment environment)
Constructor with a given environment. |
|
LyFonts(LyEnvironment environment,
java.lang.String name)
Constructor with a given environment and name. |
|
LyFonts(LyEnvironment environment,
java.lang.String name,
java.lang.String skin)
Constructor with a given environment and name. |
Method Summary | |
---|---|
LyFont |
getFont(java.lang.String key)
Gets the Font corresponding to the given key. |
Methods inherited from class leon.misc.LyResourceBundle |
---|
checkKey, clearCache, free, get, getKeyList, getKeys, getSonEnvironments, hasKey, put, remove, removeBundles, saveTo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static java.lang.String DEFAULT_FONT
Constructor Detail |
---|
public LyFonts(LyEnvironment environment)
LyFonts(environment, null)
constructor.
environment
- The environment of the fonts bundle.public LyFonts(LyEnvironment environment, java.lang.String name)
LyFonts(environment, name, environment.getLocale())
.
environment
- The environment of the fonts bundle.name
- The name of the fonts bundle.public LyFonts(LyEnvironment environment, java.lang.String name, java.lang.String skin)
LyFonts(environment, name, environment.getLocale())
.
environment
- The environment of the fonts bundle.name
- The name of the fonts bundle.skin
- The name of the skinMethod Detail |
---|
public LyFont getFont(java.lang.String key)
key
- The font key.
_fonts
list and return it.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |