|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.JRFontUtil
public final class JRFontUtil
| Method Summary | |
|---|---|
static void |
checkAwtFont(String name,
boolean ignoreMissingFont)
|
static void |
copyNonNullOwnProperties(JRFont srcFont,
JRFont destFont)
|
static Map<AttributedCharacterIterator.Attribute,Object> |
getAttributes(Map<AttributedCharacterIterator.Attribute,Object> attributes,
JRFont font,
Locale locale)
Deprecated. Replaced by getAttributesWithoutAwtFont(Map, JRFont). |
static Map<AttributedCharacterIterator.Attribute,Object> |
getAttributesWithoutAwtFont(Map<AttributedCharacterIterator.Attribute,Object> attributes,
JRFont font)
|
static Font |
getAwtFont(JRFont font,
Locale locale)
Returns a java.awt.Font instance by converting a JRFont instance. |
static Font |
getAwtFontFromBundles(String name,
int style,
int size,
Locale locale)
Deprecated. Replaced by getAwtFontFromBundles(String, int, int, Locale, boolean). |
static Font |
getAwtFontFromBundles(String name,
int style,
int size,
Locale locale,
boolean ignoreMissingFont)
|
static Collection<String> |
getFontFamilyNames()
Returns the font family names available through extensions, in alphabetical order. |
static FontInfo |
getFontInfo(String name,
Locale locale)
Returns font information containing the font family, font face and font style. |
static void |
resetThreadMissingFontsCache()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void copyNonNullOwnProperties(JRFont srcFont,
JRFont destFont)
public static Map<AttributedCharacterIterator.Attribute,Object> getAttributes(Map<AttributedCharacterIterator.Attribute,Object> attributes,
JRFont font,
Locale locale)
getAttributesWithoutAwtFont(Map, JRFont).
public static Map<AttributedCharacterIterator.Attribute,Object> getAttributesWithoutAwtFont(Map<AttributedCharacterIterator.Attribute,Object> attributes,
JRFont font)
public static FontInfo getFontInfo(String name,
Locale locale)
name - the font family or font face namelocale - the locale
public static Collection<String> getFontFamilyNames()
public static Font getAwtFontFromBundles(String name,
int style,
int size,
Locale locale)
getAwtFontFromBundles(String, int, int, Locale, boolean).
public static Font getAwtFontFromBundles(String name,
int style,
int size,
Locale locale,
boolean ignoreMissingFont)
public static void resetThreadMissingFontsCache()
public static void checkAwtFont(String name,
boolean ignoreMissingFont)
public static Font getAwtFont(JRFont font,
Locale locale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||