|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Renders an <img ../>
tag into the outgoing html along with appropriate attributes. If the filename attribute is
provided, AWImage will automatically compute the width and height from the image file it locates under the
application resource directories. The url generated is controlled by the AWResourceManager's url specification
for the directory in which the image is found, but generally, the url's generated are directed at the webserver
and not back into the application server.
Bindings | |||
---|---|---|---|
filename
|
The relative path of the image file, including the suffix (eg filename="widg/banner.gif"). This will be used to lookup the actual path of the image via the resourceManager, so localized images are supported automatically. |
String (get) |
|
width
|
If the width is provided it will be used in preference to the automatically computed width (determined from the image file). It is strongly advised not to define this attribute as it is likely to get out of sync with the imge's actual width. Only in the case of cleardot.gif does it make sense to provide a width. |
int (get) |
|
fullUrl
|
If this binding is set then we will always generate the full URL for the image, even if direct connect is on for the application. |
boolean (get) |
|
height
|
If the height is provided it will be used in preference to the automatically computed height (determined from the image file). It is strongly advised not to define this attribute as it is likely to get out of sync with the imge's actual height. Only in the case of cleardot.gif does it make sense to provide a height. |
int (get) |
|
border
|
Defines the image's border attribute. Since borders are generally undesirable, the default is 0, which disables the browser's default behavior of displaying a broder when an image is within a hyperlink. |
int (get) |
|
title
|
Provides the images title attribute. If the title is not defined but the alt attribute is defined, the value for alt is used for the title and alt. |
String (get) |
|
alt
|
Provides the images alt attribute. If the alt is not defined but the title attribute is defined, the value for title is used for the title and alt. If the title and alt is not specified, then the default is empty string. |
String (get) |
|
*
|
Arbitrary key/value pairs may be passed-through to the |
String (get) |
|
src
|
The src attribute passed through to img tag. |
String (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.html.AWBaseImage
ariba.ui.aribaweb.html.AWImage
public class AWImage
subclassed by ariba/common/template/customer/AribaImage
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
AWImage()
|
Method Summary | |
---|---|
AWElement |
determineInstance(java.lang.String elementName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
|
static void |
registerStaticImageName(java.lang.String imageName)
|
Methods inherited from class ariba.ui.aribaweb.html.AWBaseImage |
---|
alt, height, imageUrl, imageUrl, imageUrl, supportedBindingNames, width |
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Constructor Detail |
---|
public AWImage()
Method Detail |
---|
public static void registerStaticImageName(java.lang.String imageName)
public AWElement determineInstance(java.lang.String elementName, java.util.Map bindingsHashtable, java.lang.String templateName, int lineNumber)
determineInstance
in interface AWCycleableReference
determineInstance
in class AWComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |