|
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.ImageIconConverter
public class ImageIconConverter
A Converter that turns a Strings in the form of a filename into an ImageIcon objects.
Dimension,
ConverterLibrary| Field Summary | |
|---|---|
static Class |
TEMPLATE
converter's return type |
| Constructor Summary | |
|---|---|
ImageIconConverter()
|
|
| Method Summary | |
|---|---|
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 |
| 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 ImageIconConverter()
| Method Detail |
|---|
public Object convert(Class type,
Attribute attr,
Localizer localizer)
convert in interface Convertertype - Class not usedattr - Attribute attribute provides the value to be convertedlocalizer - Localizer allow the use of resource lookups
Object - an ImageIcon
public static Object conv(Class type,
Attribute attr,
Localizer localizer)
type - Class not usedattr - Attribute attribute provides the value to be convertedlocalizer - Localizer allow the use of resource lookups
Object - an ImageIconpublic 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 | |||||||||