| java.lang.Object org.swixml.converters.ColorConverter
ColorConverter | public class ColorConverter implements Converter(Code) | | The ColorConverter class defines a Converter that turns the Strings into a Color object
author: Wolf Paulus version: $Revision: 1.1 $ See Also: java.awt.Color See Also: Examples for Valid XML attribute notations: See Also: The following example show valid xml attributes to create Color objects:
See Also: See Also: - background="3399CC"
See Also: - background="red"
See Also: - foreground="991144"
See Also:
See Also: |
TEMPLATE | final public static Class TEMPLATE(Code) | | converter's return type
|
conv | public static Object conv(Class type, Attribute attr)(Code) | | Returns a java.awt.Color runtime object
Parameters: type - Class not used Parameters: attr - Attribute value needs to provide a String runtime type is subclass of java.awt.Color |
convert | public Object convert(Class type, Attribute attr, Localizer localizer)(Code) | | Returns a java.awt.Color runtime object
Parameters: type - Class not used Parameters: attr - Attribute value needs to provide a String runtime type is subclass of java.awt.Color |
convertsTo | public 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 |
|
|