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.
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 - 2010 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: