ewe.ui.formatted
Interface ImageResolver

All Known Implementing Classes:
FormattedTextMaker, StreamImageResolver

public interface ImageResolver


Method Summary
 Handle resolveImage(PropertyList imageProperties, boolean allowAnimatedImages, Dimension maxSize)
          Resolve the image.
 

Method Detail

resolveImage

public Handle resolveImage(PropertyList imageProperties,
                           boolean allowAnimatedImages,
                           Dimension maxSize)
Resolve the image.

Parameters:
imageProperties - The properties for the Image. This should contain at least one property called "src".
allowAnimatedImages - If this is true then animated images will be resolved into an AnimatedIcon.
maxSize - An optional limit to the size of the image returned.
Returns:
A Handle that can be used to monitor the progress of the resolution. When the Handle status reports Handle.Succeeded then the returnValue of the Handle will hold the resolved image.