jmri.util
Class FontUtil
java.lang.Object
jmri.util.FontUtil
public class FontUtil
- extends Object
Common utility methods for working with Fonts.
We needed a place to refactor common Font-processing idioms in JMRI
code, so this class was created. It's more of a library of procedures
than a real class, as (so far) all of the operations have needed no state
information.
In particular, this is intended to provide Java 2 functionality on a
Java 1.1.8 system, or at least try to fake it.
- Author:
- Bob Jacobsen Copyright 2003
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontUtil
public FontUtil()
canRestyle
public static boolean canRestyle()
deriveFont
public static Font deriveFont(Font f,
int style)
canResize
public static boolean canResize()
deriveFont
public static Font deriveFont(Font f,
float size)
Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: