railo.commons.lang.font
Class FontUtil

java.lang.Object
  extended by railo.commons.lang.font.FontUtil

public class FontUtil
extends Object


Constructor Summary
FontUtil()
           
 
Method Summary
static Array getAvailableFontsAsStringArray()
           
static Font getFont(String font)
           
static Font getFont(String font, Font defaultValue)
           
static FontMetrics getFontMetrics(Font font)
           
static String toString(Font font)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontUtil

public FontUtil()
Method Detail

getAvailableFontsAsStringArray

public static Array getAvailableFontsAsStringArray()

toString

public static String toString(Font font)

getFont

public static Font getFont(String font,
                           Font defaultValue)

getFont

public static Font getFont(String font)
                    throws ExpressionException
Throws:
ExpressionException

getFontMetrics

public static FontMetrics getFontMetrics(Font font)


Copyright © 2012 Railo