| org.swixml.Converter
All known Subclasses: org.swixml.converters.PointConverter, org.swixml.converters.PrimitiveConverter, org.swixml.converters.DimensionConverter, org.swixml.converters.LocaleConverter, org.swixml.converters.ImageIconConverter, org.swixml.converters.FontConverter, org.swixml.converters.ColorConverter, org.swixml.converters.KeyStrokeConverter, org.swixml.converters.ImageConverter, org.swixml.converters.ActionConverter, org.swixml.converters.RectangleConverter, org.swixml.converters.BorderConverter, org.swixml.converters.StringConverter, org.swixml.converters.InsetsConverter, org.swixml.converters.ComponentConverter,
Converter | public interface Converter (Code) | | General purpose data type converter that can be registered and used
within the SwingEngine package to manage the conversion of objects from
one type to another.
author: Wolf Paulus version: $Revision: 1.2 $ |
convert | Object convert(Class type, Attribute attr, Localizer localizer) throws Exception(Code) | | Convert the value of the given Attribute object into an output object of the
specified type.
Parameters: type - Class Data type to which the Attribute's value should be converted Parameters: attr - Attribute the attribute, providing the value to be converted. |
convertsTo | Class convertsTo()(Code) | | A Converters conversTo method informs about the Class type the converter
is returning when its convert method is called
Class - the Class the converter is returning when its convert method is called |
|
|