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

Constructor Index

 o ImageRefConverter()

Method Index

 o convertFromString(String)
Converts a string to a new instance of ImageRef.
 o convertToCode(Object)
Returns code that will create a new instance of an ImageRef like the one given.
 o convertToString(Object)
Converts an ImageRef to a string.

Constructors

 o ImageRefConverter
  public ImageRefConverter()

Methods

 o convertToString
  public String convertToString(Object obj)
Converts an ImageRef to a string.
Parameters:
obj - an instance of ImageRef
Overrides:
convertToString in class Converter
 o convertFromString
  public Object convertFromString(String s)
Converts a string to a new instance of ImageRef.
Overrides:
convertFromString in class Converter
 o 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