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 TextgetAlternativeText()Returns theTextobject for the image alternate text.java.lang.StringgetHyperlinkTarget()Returns the target window id or frame id in which the hyperlink URL is displayed.java.lang.StringgetHyperlinkURL()Returns the hyperlink URL activated when thedisplayAsHyperlinkproperty is set totrue.java.lang.StringgetImageURL()Returns the URL of the image to be displayed.TextgetMouseOverText()Returns theTextobject for the mouse over text.booleanisDisplayAsHyperlink()Returnstrueif the image should behave as a hyperlink when clicked, otherwise returnsfalse.booleanisSkipValidation()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).voidsetDisplayAsHyperlink(boolean displayAsHyperlink)Sets whether or not the image should behave as a hyperlink when clicked,.voidsetHyperlinkTarget(java.lang.String hyperlinkTarget)Sets the target window id or frame id in which the hyperlink URL is displayed.voidsetHyperlinkURL(java.lang.String hyperlinkURL)Sets the hyperlink URL activated when thedisplayAsHyperlinkproperty is set totrue.voidsetImageURL(java.lang.String imageURL)Sets the URL of the image to be displayed.voidsetSkipValidation(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 theTextobject for the image alternate text.Accessibility Note: an alternate text is required for all images.
- Since:
- V4.4
-
getMouseOverText
Text getMouseOverText()Returns theTextobject 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()Returnstrueif the image should behave as a hyperlink when clicked, otherwise returnsfalse.- When
trueand the image is clicked by the user, the hyperlink URL is displayed (propertyhyperlinkURL) - When
falseand 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
trueand the image is clicked by the user, the hyperlink URL is displayed (propertyhyperlinkURL) - When
falseand 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 thedisplayAsHyperlinkproperty 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 thedisplayAsHyperlinkproperty is set totrue.- Since:
- V4.4
-
getHyperlinkURL
java.lang.String getHyperlinkURL()Returns the hyperlink URL activated when thedisplayAsHyperlinkproperty 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 thedisplayAsHyperlinkproperty 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
-