|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.BaseImage
public abstract class BaseImage
The BaseImage is an abstract TransformationBean used to create an Image.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:Image custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary | |
---|---|
protected java.lang.String |
imageLocation
|
Constructor Summary | |
---|---|
BaseImage()
Constructs a new BaseImage Transformation Bean |
Method Summary | |
---|---|
java.lang.String |
getAlignment()
Gets the alignment of the image. |
java.lang.String |
getAlternateText()
Gets the alternate text of the image. |
int |
getBorderWidth()
Gets the borderWidth of the image. |
java.lang.String |
getDisabledImage()
|
java.lang.String |
getDisabledImageName()
|
int |
getHeight()
Gets the height of the image. |
int |
getHeightPercentage()
Gets the height of the Image as a percentage |
int |
getHorizontalSpace()
Gets the horizontal space of the image. |
java.lang.String |
getImage()
Gets the source for the iamge. |
java.lang.String |
getImageLocation()
|
java.lang.String |
getImageName()
|
java.lang.String |
getOnBlur()
Gets the onBlur event for the IMG tag. |
java.lang.String |
getOnClick()
Gets the onClick event for the IMG tag. |
java.lang.String |
getOnDblClick()
Gets the onDblClick event for the IMG tag |
java.lang.String |
getOnFocus()
Gets the onFocus event for the IMG tag. |
java.lang.String |
getOnKeyDown()
Gets the onKeyDown event for the IMG tag |
java.lang.String |
getOnKeyPress()
Gets the onKeyPress event for the IMG tag |
java.lang.String |
getOnKeyUp()
Gets the onKeyUp event for the IMG tag |
java.lang.String |
getOnMouseDown()
Gets the onMouseDown event for the IMG tag. |
java.lang.String |
getOnMouseMove()
Gets the onMouseMove event for the IMG tag. |
java.lang.String |
getOnMouseOut()
Gets the onMouseOut event for the IMG tag. |
java.lang.String |
getOnMouseOver()
Gets the onMouseOver event for the IMG tag. |
java.lang.String |
getOnMouseUp()
Gets the onMouseUp event for the IMG tag |
StyleInfo |
getStyleInfo()
Returns the style info for this image tag. |
java.lang.String |
getTitle()
Gets the title of the IMG tag. |
int |
getVerticalSpace()
Gets the vertical space of the image. |
int |
getWidth()
Gets the width of the image. |
int |
getWidthPercentage()
Gets the width of the Image as a percentage |
boolean |
isEnabled()
Determines the enabled value associated with the image tag. |
void |
setAlignment(java.lang.String value)
Sets the alignment for the image. |
void |
setAlternateText(java.lang.String value)
Sets the alternate text for the image. |
void |
setBorderWidth(int value)
Sets the borderWidth for the image. |
void |
setDisabledImage(java.lang.String disabledImage)
|
void |
setDisabledImageName(java.lang.String disabledImageName)
|
void |
setEnabled(boolean value)
Sets the enabled attribute associated with the image tag. |
void |
setHeight(int value)
Sets the height for the image. |
void |
setHeightPercentage(int value)
Sets the height of the Image as a percentage |
void |
setHorizontalSpace(int value)
Sets the horizontal space for the image. |
void |
setImage(java.lang.String value)
Sets the source for the image. |
void |
setImageLocation(java.lang.String imageLocation)
|
void |
setImageName(java.lang.String imageName)
|
void |
setOnBlur(java.lang.String value)
Sets the onBlur event for the IMG tag. |
void |
setOnClick(java.lang.String value)
Sets the onClick event for the IMG tag. |
void |
setOnDblClick(java.lang.String value)
Sets the onDblClick event for the IMG tag. |
void |
setOnFocus(java.lang.String value)
Sets the onFocus event for the IMG tag. |
void |
setOnKeyDown(java.lang.String value)
Sets the onKeyDown event for the IMG tag. |
void |
setOnKeyPress(java.lang.String value)
Sets the onKeyPress event for the IMG tag. |
void |
setOnKeyUp(java.lang.String value)
Sets the onKeyUp event for the IMG tag. |
void |
setOnMouseDown(java.lang.String value)
Sets the onMouseDown event for the IMG tag. |
void |
setOnMouseMove(java.lang.String value)
Sets the onMouseMove event for the IMG tag. |
void |
setOnMouseOut(java.lang.String value)
Sets the onMouseOut event for the IMG tag. |
void |
setOnMouseOver(java.lang.String value)
Sets the onMouseOver event for the IMG tag. |
void |
setOnMouseUp(java.lang.String value)
Sets the onMouseUp event for the IMG tag. |
void |
setStyleInfo(StyleInfo styleInfo)
Sets the style info for this image tag. |
void |
setTitle(java.lang.String value)
Sets the title for the IMG tag. |
void |
setVerticalSpace(int value)
Sets the vertical space for the image. |
void |
setWidth(int value)
Sets the width for the image. |
void |
setWidthPercentage(int value)
Sets the width of the Image as a percentage |
Field Detail |
---|
protected java.lang.String imageLocation
Constructor Detail |
---|
public BaseImage()
Method Detail |
---|
public void setImage(java.lang.String value)
type
- The URL of the imagepublic java.lang.String getImage()
public void setAlternateText(java.lang.String value)
text
- The alternate text of the imagepublic java.lang.String getAlternateText()
public void setAlignment(java.lang.String value)
align
- The alignment of the image (top, bottom, middle, left, right)public java.lang.String getAlignment()
public void setWidth(int value)
width
- The width of the imagepublic int getWidth()
public void setWidthPercentage(int value)
value
- The width as a percentagepublic int getWidthPercentage()
public void setHeight(int value)
value
- The height of the imagepublic int getHeight()
public void setHeightPercentage(int value)
value
- The height as a percentagepublic int getHeightPercentage()
public void setHorizontalSpace(int value)
hspace
- The horizontal space of the imagepublic int getHorizontalSpace()
public void setVerticalSpace(int value)
hspace
- The vertical space of the imagepublic int getVerticalSpace()
public void setBorderWidth(int value)
borderWidth
- The border width of the imagepublic int getBorderWidth()
public StyleInfo getStyleInfo()
public void setStyleInfo(StyleInfo styleInfo)
styleInfo
- The style for this image tagpublic void setEnabled(boolean value)
value
- The enabled valuepublic boolean isEnabled()
public java.lang.String getDisabledImage()
public void setDisabledImage(java.lang.String disabledImage)
disabledImage
- The disabledImage to set.public java.lang.String getDisabledImageName()
public void setDisabledImageName(java.lang.String disabledImageName)
disabledImageName
- The disabledImageName to set.public java.lang.String getImageLocation()
public void setImageLocation(java.lang.String imageLocation)
imageLocation
- The imageLocation to set.public java.lang.String getImageName()
public void setImageName(java.lang.String imageName)
imageName
- The imageName to set.public void setOnBlur(java.lang.String value)
value
- The onBlur eventpublic java.lang.String getOnBlur()
public void setOnClick(java.lang.String value)
value
- The onClick eventpublic java.lang.String getOnClick()
public void setOnDblClick(java.lang.String value)
value
- The onDblClick eventpublic java.lang.String getOnDblClick()
public void setOnFocus(java.lang.String value)
value
- The onFocus eventpublic java.lang.String getOnFocus()
public void setOnMouseOut(java.lang.String value)
value
- The onMouseOut eventpublic java.lang.String getOnMouseOut()
public void setOnMouseOver(java.lang.String value)
value
- The onMouseOver eventpublic java.lang.String getOnMouseOver()
public void setOnMouseDown(java.lang.String value)
value
- The onMouseDown eventpublic java.lang.String getOnMouseDown()
public void setOnMouseUp(java.lang.String value)
value
- The onMouseUp eventpublic java.lang.String getOnMouseUp()
public void setOnMouseMove(java.lang.String value)
value
- The onMouseMove eventpublic java.lang.String getOnMouseMove()
public void setOnKeyDown(java.lang.String value)
value
- The onKeyDown eventpublic java.lang.String getOnKeyDown()
public void setOnKeyPress(java.lang.String value)
value
- The onKeyPress eventpublic java.lang.String getOnKeyPress()
public void setOnKeyUp(java.lang.String value)
value
- The onKeyUp eventpublic java.lang.String getOnKeyUp()
public void setTitle(java.lang.String value)
value
- The title of the IMG tagpublic java.lang.String getTitle()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |