cookxml.cookswt.converter
Class FontConverter
java.lang.Object
   cookxml.cookswt.converter.FontConverter
cookxml.cookswt.converter.FontConverter
- All Implemented Interfaces: 
- Converter
- public class FontConverter- extends Object- implements Converter
Convert a string representation into a Font.  The format is
 "fontname,style,size".  For example, "monospace,bold italic,12".
- Since:
- CookSwt 1.0
- See Also:
- Font
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
getInstance
public static Converter getInstance()
- 
 
- 
 
convert
public Object convert(String value,
                      DecodeEngine decodeEngine)
               throws ConverterException
- Description copied from interface: Converter
- converts a string value into an object type.
 
- 
- Specified by:
- convertin interface- Converter
 
- 
- Parameters:
- value- the string value to be converted.
- decodeEngine- the DecodeEngine to be used.
- Returns:
- the converted object.
- Throws:
- ConverterException