org.apache.myfaces.trinidadinternal.image
Interface ImageProviderResponse


public interface ImageProviderResponse

ImageProviderResponse objects are returned by the ImageProvider in response to successful image requests. The ImageProviderResponse interface provide access to the properties of the returned image, including its URI, width and height.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/ImageProviderResponse.java#0 $) $Date: 10-nov-2005.19:03:55 $
Author:
The Oracle ADF Faces Team
See Also:
ImageProvider

Field Summary
static int UNKNOWN_SIZE
          Value returned by getWidth() and getHeight() if the size is not known.
 
Method Summary
 int getHeight()
          Returns the height of the requested image.
 java.lang.String getImageURI()
          Returns the URI of the image.
 java.util.Collection<MapArea> getMapAreas()
          Returns an ImmutableArray of MapArea objects which describe the regions of the image which should be included in the image's map.
 int getWidth()
          Returns the width of the requested image.
 

Field Detail

UNKNOWN_SIZE

static final int UNKNOWN_SIZE
Value returned by getWidth() and getHeight() if the size is not known.

See Also:
Constant Field Values
Method Detail

getImageURI

java.lang.String getImageURI()
Returns the URI of the image.


getWidth

int getWidth()
Returns the width of the requested image.

Returns UNKNOWN_SIZE if the width is unknown.


getHeight

int getHeight()
Returns the height of the requested image.

Returns UNKNOWN_SIZE if the height is unknown.


getMapAreas

java.util.Collection<MapArea> getMapAreas()
Returns an ImmutableArray of MapArea objects which describe the regions of the image which should be included in the image's map.

See Also:
MapArea


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.