net.xoetrope.optional.resources
Class StyleHelper

java.lang.Object
  extended by net.xoetrope.optional.resources.StyleHelper

public class StyleHelper
extends java.lang.Object

A helper for conversion of xstyles to some more useful types.

Copyright (c) Xoetrope Ltd., 2002-2004

$Revision: 2.1 $

License: see License.txt


Constructor Summary
StyleHelper()
           
 
Method Summary
static java.awt.Font getFont(XStyle style)
          Get a style as a font
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleHelper

public StyleHelper()
Method Detail

getFont

public static java.awt.Font getFont(XStyle style)
Get a style as a font

Parameters:
style - teh style name
Returns:
the font