public interface ImageControlProperties
Modifier and Type | Method and Description |
---|---|
Text |
getAlternativeText()
Returns the
Text object for the image alternate text. |
Text |
getAriaLabelText()
Returns the
Text object for the aria label text. |
java.lang.String |
getHyperlinkTarget()
Returns the target window id or frame id in which the hyperlink URL is displayed.
|
java.lang.String |
getHyperlinkURL()
Returns the hyperlink URL activated when the
displayAsHyperlink property is set to true . |
java.lang.String |
getImageURL()
Returns the URL of the image to be displayed.
|
Text |
getMouseOverText()
Returns the
Text object for the mouse over text. |
boolean |
isDisplayAsHyperlink()
Returns
true if the image should behave as a hyperlink when clicked, otherwise returns false . |
boolean |
isSkipValidation()
Returns the skip validation flag that indicates
whether or not validation of controls higher on the page is skipped prior to executing the image's on click event (if configured).
|
void |
setDisplayAsHyperlink(boolean displayAsHyperlink)
Sets whether or not the image should behave as a hyperlink when clicked,.
|
void |
setHyperlinkTarget(java.lang.String hyperlinkTarget)
Sets the target window id or frame id in which the hyperlink URL is displayed.
|
void |
setHyperlinkURL(java.lang.String hyperlinkURL)
Sets the hyperlink URL activated when the
displayAsHyperlink property is set to true . |
void |
setImageURL(java.lang.String imageURL)
Sets the URL of the image to be displayed.
|
void |
setSkipValidation(boolean skipValidation)
Specifies whether or not validation of controls higher on the page is skipped prior to executing the image's on click event (if configured).
|
java.lang.String getImageURL()
void setImageURL(java.lang.String imageURL)
http://www.google.com
.
Text getAlternativeText()
Text
object for the image alternate text.
Accessibility Note: an alternate text is required for all images.
Text getMouseOverText()
Text
object for the mouse over text.boolean isSkipValidation()
Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields).
void setSkipValidation(boolean skipValidation)
Note that field type validation is always executed regardless of the setting of this flag (e.g. check that only numeric data is entered for numeric fields).
boolean isDisplayAsHyperlink()
true
if the image should behave as a hyperlink when clicked, otherwise returns false
.
true
and the image is clicked by the user, the hyperlink URL is displayed (property hyperlinkURL
)false
and the image is clicked by the user, the on click event is executed (if configured)void setDisplayAsHyperlink(boolean displayAsHyperlink)
true
and the image is clicked by the user, the hyperlink URL is displayed (property hyperlinkURL
)false
and the image is clicked by the user, the on click event is executed (if configured)java.lang.String getHyperlinkTarget()
displayAsHyperlink
property is set to true
.
void setHyperlinkTarget(java.lang.String hyperlinkTarget)
displayAsHyperlink
property is set to true
.
java.lang.String getHyperlinkURL()
displayAsHyperlink
property is set to true
.
The URL can be either relative or absolute.
void setHyperlinkURL(java.lang.String hyperlinkURL)
displayAsHyperlink
property is set to true
.
The URL can be either relative or absolute. When absolute, is should start with the protocol e.g. http://www.google.com
.