Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mvsteenb.javauitransformer.xmltransformer.util
Class FontUtil  view FontUtil download FontUtil.java

java.lang.Object
  extended bycom.mvsteenb.javauitransformer.xmltransformer.util.FontUtil

public class FontUtil
extends java.lang.Object

com.mvsteenb.javauitransformer.xmltransformer.util

Description

Free Software

Copyright (C) 2003 Mario Van Steenberghe

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Please contact me at mario.vansteenberghe@pandora.be for more information.

Revision History

Aug 24, 2003 : mvsteenb : Initial Revision


Constructor Summary
FontUtil()
           
 
Method Summary
static java.awt.Font toFont(java.lang.String fontString)
          Creates font from given string representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontUtil

public FontUtil()
Method Detail

toFont

public static java.awt.Font toFont(java.lang.String fontString)
                            throws InvalidFontStringException
Creates font from given string representation. The string should be of format 'font, type, size' for example : toFont("helvetica, 0, 14");