org.swixml.converters
Class ImageConverter
java.lang.Objectorg.swixml.converters.ImageConverter
- Converter
public class ImageConverter
extends java.lang.Object
A Converter that turns a Strings in the form of a filename into an Image objects.
static Class | TEMPLATE- converter's return type
|
static Object | conv(Class type, Attribute attr, Localizer localizer)- Converts a String into an ImageIcon through a Resource lookup
|
Object | convert(Class type, Attribute attr, Localizer localizer)- Converts a String into an ImageIcon through a Resource lookup
|
Class | convertsTo()- A
Converters conversTo method informs about the Class type the converter
is returning when its convert method is called
|
TEMPLATE
public static final Class TEMPLATE
converter's return type
conv
public static Object conv(Class type,
Attribute attr,
Localizer localizer) Converts a String into an ImageIcon through a Resource lookup
type - Class not usedattr - Attribute attribute provides the value to be convertedlocalizer - Localizer allow the use of resource lookups
convert
public Object convert(Class type,
Attribute attr,
Localizer localizer) Converts a String into an ImageIcon through a Resource lookup
- convert in interface Converter
type - Class not usedattr - Attribute attribute provides the value to be convertedlocalizer - Localizer allow the use of resource lookups
convertsTo
public Class convertsTo()
A Converters conversTo method informs about the Class type the converter
is returning when its convert method is called
- convertsTo in interface Converter
Class - the Class the converter is returning when its convert method is called
Copyright B) 2002 - 2005 - Wolf Paulus - CarlsbadCubes.com . All rights reserved.