com.sas.servlet.beans
Interface ImageInterface

All Known Implementing Classes:
BaseImage

public interface ImageInterface
extends TransformationInterface, ComponentInterface

Transformation bean definition for creating an image button.


Method Summary
 String getAlignment()
          Gets the alignment of the image.
 String getAlternateText()
          Gets the alternate text of the image.
 int getHeight()
          Gets the height of the image.
 int getHorizontalSpace()
          Gets the horizontal space of the image.
 String getImage()
          Gets the source for the image.
 String getName()
          Gets the name
 int getVerticalSpace()
          Gets the vertical space of the image.
 int getWidth()
          Gets the width of the image.
 void setAlignment(String align)
          Sets the alignment for the image.
 void setAlternateText(String text)
          Sets the alternate text for the image.
 void setHeight(int height)
          Sets the height for the image.
 void setHorizontalSpace(int hspace)
          Sets the horizontal space for the image.
 void setImage(String image)
          Sets the source for the image.
 void setName(String value)
          Sets the name
 void setVerticalSpace(int hspace)
          Sets the vertical space for the image.
 void setWidth(int width)
          Sets the width for the image.
 
Methods inherited from interface com.sas.servlet.beans.TransformationInterface
getCustomAttributes, getDescription, getParent, getRequest, getResponse, setCustomAttributes, setDescription, setParent, setRequest, setResponse, write, write, write, write
 

Method Detail

setName

public void setName(String value)
Sets the name
Specified by:
setName in interface TransformationInterface
Parameters:
value - The name

getName

public String getName()
Gets the name
Specified by:
getName in interface TransformationInterface
Returns:
The name

setImage

public void setImage(String image)
Sets the source for the image.
Parameters:
type - The URL of the image

getImage

public String getImage()
Gets the source for the image.
Returns:
image The URL of the image

setAlternateText

public void setAlternateText(String text)
Sets the alternate text for the image.
Parameters:
text - The alternate text of the image

getAlternateText

public String getAlternateText()
Gets the alternate text of the image.
Returns:
text The alternate text of the image

setAlignment

public void setAlignment(String align)
Sets the alignment for the image.
Parameters:
align - The alignment of the image (top, bottom, middle, left, right)

getAlignment

public String getAlignment()
Gets the alignment of the image.
Returns:
alignment The alignment of the image

setWidth

public void setWidth(int width)
Sets the width for the image.
Parameters:
width - The width of the image

getWidth

public int getWidth()
Gets the width of the image.
Returns:
width The width of the image

setHeight

public void setHeight(int height)
Sets the height for the image.
Parameters:
height - The height of the image

getHeight

public int getHeight()
Gets the height of the image.
Returns:
height The height of the image

setHorizontalSpace

public void setHorizontalSpace(int hspace)
Sets the horizontal space for the image.
Parameters:
hspace - The horizontal space of the image

getHorizontalSpace

public int getHorizontalSpace()
Gets the horizontal space of the image.
Returns:
hspace The horizontal space of the image

setVerticalSpace

public void setVerticalSpace(int hspace)
Sets the vertical space for the image.
Parameters:
hspace - The vertical space of the image

getVerticalSpace

public int getVerticalSpace()
Gets the vertical space of the image.
Returns:
hspace The vertical space of the image


Version: 1.2.20000317.001 Formatted: 2000/07/06 15:57:33PM