| 
 | SWIXML 1.6 (#161) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swixml.converters.DimensionConverter
public final class DimensionConverter
A Converter that turns a Strings in the form: width,height into Dimension objects.
 
 
Dimension, 
ConverterLibrary| Field Summary | |
|---|---|
| static Class | TEMPLATEconverter's return type | 
| Constructor Summary | |
|---|---|
| DimensionConverter() | |
| Method Summary | |
|---|---|
|  Object | convert(Class type,
        Attribute attr,
        Localizer localizer)Converts a String into an Dimension object | 
|  Class | convertsTo()A ConvertersconversTo method informs about the Class type the converter
 is returning when itsconvertmethod is called | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final Class TEMPLATE
| Constructor Detail | 
|---|
public DimensionConverter()
| Method Detail | 
|---|
public Object convert(Class type,
                      Attribute attr,
                      Localizer localizer)
convert in interface Convertertype - Class not usedattr - Attribute value fields needs provides convertable String
Object - runtime type is Dimensionpublic Class convertsTo()
Converters conversTo method informs about the Class type the converter
 is returning when its convert method is called
convertsTo in interface ConverterClass - the Class the converter is returning when its convert method is called| 
 | SWIXML 1.6 (#161) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||