org.apache.myfaces.custom.graphicimagedynamic.util
Interface ImageContext

All Superinterfaces:
ResourceContext
All Known Implementing Classes:
SimpleImageContext

public interface ImageContext
extends ResourceContext

The ImageContext class holds additional objects and values which can be used to determine which or how an image should be rendered.

Version:
$Revision: 472727 $ $Date: 2006-11-09 03:08:46 +0200 (Thu, 09 Nov 2006) $
Author:
Mathias Broekelmann

Method Summary
 java.lang.Integer getHeight()
          Returns the desired height of the image
 java.lang.Integer getWidth()
          Returns the desired width of the image
 
Methods inherited from interface org.apache.myfaces.custom.dynamicResources.ResourceContext
getParamters
 

Method Detail

getWidth

java.lang.Integer getWidth()
Returns the desired width of the image

Returns:
null if no width is defined

getHeight

java.lang.Integer getHeight()
Returns the desired height of the image

Returns:
null if no height is defined


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.