|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taco.text.AbstractStringToObjectConverter
com.taco.swinger.text2gui.StringToFontConverter
public class StringToFontConverter
An implementation of IStringToObjectConverter
that converts
strings to fonts using Font.decode()
.
Field Summary | |
---|---|
static StringToFontConverter |
instance
The singleton instance of this class. |
Constructor Summary | |
---|---|
protected |
StringToFontConverter()
Since this class is implemented as a singleton, its sole constructor is protected. |
Method Summary | |
---|---|
java.lang.Object |
toObject(java.lang.String s)
Call Font.decode() on the string. |
Methods inherited from class com.taco.text.AbstractStringToObjectConverter |
---|
map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final StringToFontConverter instance
Constructor Detail |
---|
protected StringToFontConverter()
Method Detail |
---|
public java.lang.Object toObject(java.lang.String s) throws java.text.ParseException
Font.decode()
on the string.
toObject
in interface IStringToObjectConverter
java.text.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |