|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Renders an <input type="image" .. />
tag into the outgoing html along with appropriate attributes. If the filename
attribute is provided, AWImageButton 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) |
|
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. |
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. |
String (get) |
|
action
|
When the user clicks the button in the client, this method is onvoked on the server during the invokeAction phase. |
AWResponseGenerating (get) |
|
*
|
Arbitrary key/value pairs may be passed-through to the |
String (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.html.AWImageButton
public final class AWImageButton
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 | |
---|---|
AWImageButton()
|
Method Summary | |
---|---|
java.lang.String[] |
supportedBindingNames()
|
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 |
Field Detail |
---|
public static final java.lang.String[] SupportedBindingNames
Constructor Detail |
---|
public AWImageButton()
Method Detail |
---|
public java.lang.String[] supportedBindingNames()
supportedBindingNames
in class AWComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |