|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.form.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 |
---|
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement |
---|
RB_KEY |
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. |
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 |
getTarget()
Returns the value of the TARGET= argument used on the anchor tags generated. |
java.lang.String |
getURL()
Gets the destination URL for the image's link. |
boolean |
getUseAsFormElement()
Returns true if image should be used as a FORM element. |
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 |
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 |
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 |
setTarget(java.lang.String value)
Sets the value of the TARGET= argument used on the anchor tags generated. |
void |
setURL(java.lang.String location)
Set the destination URL for the image's link. |
void |
setUseAsFormElement(boolean enable)
Turns on/off the use of image as a FORM element. |
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 |
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 setUseAsFormElement(boolean enable)
enable
- true if image should be a FORM elementpublic boolean getUseAsFormElement()
public void setURL(java.lang.String location)
setURL
in interface URLInterface
location
- The destination URL for the linkpublic java.lang.String getURL()
getURL
in interface URLInterface
public void setBorderWidth(int value)
borderWidth
- The border width of the imagepublic int getBorderWidth()
public java.lang.String getTarget()
public void setTarget(java.lang.String value)
value
- The value of the TARGET= argument on the anchor tag
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |