Class sunsoft.jws.visual.rt.type.ImageRefConverter
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.ImageRefConverter
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.Converter
|
+----sunsoft.jws.visual.rt.type.ImageRefConverter
- public class ImageRefConverter
- extends Converter
Converts Image filenames/urls (strings) to instances of ImageRef and
back again.
- See Also:
- ImageRef
-
ImageRefConverter()
-
-
convertFromString(String)
- Converts a string to a new instance of ImageRef.
-
convertToCode(Object)
- Returns code that will create a new instance of an ImageRef like the one
given.
-
convertToString(Object)
- Converts an ImageRef to a string.
ImageRefConverter
public ImageRefConverter()
convertToString
public String convertToString(Object obj)
- Converts an ImageRef to a string.
- Parameters:
- obj - an instance of ImageRef
- Overrides:
- convertToString in class Converter
convertFromString
public Object convertFromString(String s)
- Converts a string to a new instance of ImageRef.
- Overrides:
- convertFromString in class Converter
convertToCode
public String convertToCode(Object obj)
- Returns code that will create a new instance of an ImageRef like the one
given.
- Parameters:
- obj - an instance of ImageRef
- Overrides:
- convertToCode in class Converter
All Packages Class Hierarchy This Package Previous Next Index