com.sas.servlet.beans
Class BaseImage

java.lang.Object
  |
  +--com.sas.Component
        |
        +--com.sas.servlet.beans.BaseTransformation
              |
              +--com.sas.servlet.beans.BaseImage
Direct Known Subclasses:
Image

public abstract class BaseImage
extends BaseTransformation
implements ImageInterface

Transformation bean base object for creating an image

See Also:
Serialized Form

Constructor Summary
BaseImage()
           
 
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 type of the pushbutton.
 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 value)
          Sets the alignment for the image.
 void setAlternateText(String value)
          Sets the alternate text for the image.
 void setHeight(int value)
          Sets the height for the image.
 void setHorizontalSpace(int value)
          Sets the horizontal space for the image.
 void setImage(String value)
          Sets the source image for the pushbutton.
 void setName(String value)
          Sets the name
 void setVerticalSpace(int value)
          Sets the vertical space for the image.
 void setWidth(int value)
          Sets the width for the image.
 
Methods inherited from class com.sas.servlet.beans.BaseTransformation
getCustomAttributes, getDescription, getParent, getRequest, getResponse, setCustomAttributes, setDescription, setParent, setRequest, setResponse, toString, write, write, write, write
 
Methods inherited from class com.sas.Component
addLink, addPropertyChangeListener, addVetoableChangeListener, anyPropertyChangeListeners, attachModel, attachView, beansIsDesignTime, beansSetDesignTime, clone, clone, detachModel, detachView, dumpComponent, firePropertyChange, firePropertyChange, fireVetoableChange, getComponentDescription, getComponentSupportInfo, getEventMethod, getEventValues, getExtendedBeanInfo, getLinkInfo, getModelInterface, getRequiredInterfaces, getResources, getStringResource, getViewInterfaceSupportInfo, initialize, initializeComponent, isDesignTime, isLinked, propertyChange, queryLinks, queryLinks, refresh, removeAllLinks, removeInterfaceTraps, removeLink, removePropertyChangeListener, removeVetoableChangeListener, setComponentDescription, setComponentSupportInfo, setDefaultValues, setLinkInfo, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsListenerInterface, supportsRequiredInterfaces, trapInterfaceEvents, validateObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseImage

public BaseImage()
Method Detail

setName

public void setName(String value)
Sets the name
Specified by:
setName in interface ImageInterface
Parameters:
value - The name
Overrides:
setName in class BaseTransformation

getName

public String getName()
Gets the name
Specified by:
getName in interface ImageInterface
Returns:
The name
Overrides:
getName in class BaseTransformation

setImage

public void setImage(String value)
Sets the source image for the pushbutton.
Specified by:
setImage in interface ImageInterface
Parameters:
type - The URL of the image

getImage

public String getImage()
Gets the type of the pushbutton.
Specified by:
getImage in interface ImageInterface
Returns:
image The URL of the image

setAlternateText

public void setAlternateText(String value)
Sets the alternate text for the image.
Specified by:
setAlternateText in interface ImageInterface
Parameters:
text - The alternate text of the image

getAlternateText

public String getAlternateText()
Gets the alternate text of the image.
Specified by:
getAlternateText in interface ImageInterface
Returns:
text The alternate text of the image

setAlignment

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

getAlignment

public String getAlignment()
Gets the alignment of the image.
Specified by:
getAlignment in interface ImageInterface
Returns:
alignment The alignment of the image

setWidth

public void setWidth(int value)
Sets the width for the image.
Specified by:
setWidth in interface ImageInterface
Parameters:
width - The width of the image

getWidth

public int getWidth()
Gets the width of the image.
Specified by:
getWidth in interface ImageInterface
Returns:
width The width of the image

setHeight

public void setHeight(int value)
Sets the height for the image.
Specified by:
setHeight in interface ImageInterface
Parameters:
height - The height of the image

getHeight

public int getHeight()
Gets the height of the image.
Specified by:
getHeight in interface ImageInterface
Returns:
height The height of the image

setHorizontalSpace

public void setHorizontalSpace(int value)
Sets the horizontal space for the image.
Specified by:
setHorizontalSpace in interface ImageInterface
Parameters:
hspace - The horizontal space of the image

getHorizontalSpace

public int getHorizontalSpace()
Gets the horizontal space of the image.
Specified by:
getHorizontalSpace in interface ImageInterface
Returns:
hspace The horizontal space of the image

setVerticalSpace

public void setVerticalSpace(int value)
Sets the vertical space for the image.
Specified by:
setVerticalSpace in interface ImageInterface
Parameters:
hspace - The vertical space of the image

getVerticalSpace

public int getVerticalSpace()
Gets the vertical space of the image.
Specified by:
getVerticalSpace in interface ImageInterface
Returns:
hspace The vertical space of the image


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