Package com.ebasetech.xi.api.controls
Interface ImageControlProperties
- All Known Subinterfaces:
ImageColumnControl
,ImageControl
public interface ImageControlProperties
Image Control properties.
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description Text
getAlternativeText()
Returns theText
object for the image alternate 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 thedisplayAsHyperlink
property is set totrue
.java.lang.String
getImageURL()
Returns the URL of the image to be displayed.Text
getMouseOverText()
Returns theText
object for the mouse over text.boolean
isDisplayAsHyperlink()
Returnstrue
if the image should behave as a hyperlink when clicked, otherwise returnsfalse
.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 thedisplayAsHyperlink
property is set totrue
.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).
-
Method Details
-
getImageURL
java.lang.String getImageURL()Returns the URL of the image to be displayed. The URL can be either relative or absolute.- Since:
- V4.4
-
setImageURL
void setImageURL(java.lang.String imageURL)Sets the URL of the image to be displayed. The URL can be either relative or absolute. When absolute, it should start with the protocol e.g.http://www.google.com
.- Since:
- V4.4
-
getAlternativeText
Text getAlternativeText()Returns theText
object for the image alternate text.Accessibility Note: an alternate text is required for all images.
- Since:
- V4.4
-
getMouseOverText
Text getMouseOverText()Returns theText
object for the mouse over text.- Since:
- V4.4
-
isSkipValidation
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).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).
- Since:
- V4.4
-
setSkipValidation
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).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).
- Since:
- V4.4
-
isDisplayAsHyperlink
boolean isDisplayAsHyperlink()Returnstrue
if the image should behave as a hyperlink when clicked, otherwise returnsfalse
.- When
true
and the image is clicked by the user, the hyperlink URL is displayed (propertyhyperlinkURL
) - When
false
and the image is clicked by the user, the on click event is executed (if configured)
- Since:
- V4.4
- When
-
setDisplayAsHyperlink
void setDisplayAsHyperlink(boolean displayAsHyperlink)Sets whether or not the image should behave as a hyperlink when clicked,.- When
true
and the image is clicked by the user, the hyperlink URL is displayed (propertyhyperlinkURL
) - When
false
and the image is clicked by the user, the on click event is executed (if configured)
- Since:
- V4.4
- When
-
getHyperlinkTarget
java.lang.String getHyperlinkTarget()Returns the target window id or frame id in which the hyperlink URL is displayed. This is applicable when thedisplayAsHyperlink
property is set totrue
.- Since:
- V4.4
-
setHyperlinkTarget
void setHyperlinkTarget(java.lang.String hyperlinkTarget)Sets the target window id or frame id in which the hyperlink URL is displayed. This is applicable when thedisplayAsHyperlink
property is set totrue
.- Since:
- V4.4
-
getHyperlinkURL
java.lang.String getHyperlinkURL()Returns the hyperlink URL activated when thedisplayAsHyperlink
property is set totrue
. The URL can be either relative or absolute.- Since:
- V4.4
-
setHyperlinkURL
void setHyperlinkURL(java.lang.String hyperlinkURL)Sets the hyperlink URL activated when thedisplayAsHyperlink
property is set totrue
. The URL can be either relative or absolute. When absolute, is should start with the protocol e.g.http://www.google.com
.- Since:
- V4.4
-