com.ebasetech.xi.api.controls
Interface FieldControlProperties

All Known Subinterfaces:
FieldColumnControl, FieldControl

public interface FieldControlProperties

Field Control Properties.

Since:
V4.4

Method Summary
 java.lang.String getButtonImageUrl()
          Returns the URL of the image to be displayed when the buttonDisplayAsImage is set to true.
 Text getButtonText()
          Returns the Text object for the button text.
 FieldHyperlinkProperties getHyperlinkProperties()
          Hyperlink properties that apply when the field value should be displayed as a hyperlink (property hyperlink is set to true).
 java.lang.String getIvImageURL()
          Returns the URL of the image to be displayed when Javascript is disabled and immediate validation is simulated using an image to be clicked by the user (displayIvAsImage is set to true).
 boolean isButtonDisplayAsImage()
          Indicates whether or not the image specified in the buttonImageUrl property is displayed instead of a button.
 boolean isButtonSkipValidation()
          Returns whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.
 boolean isDisplayIvAsImage()
          Indicates that a button is displayed as an image, and is applicable only when Javascript is disabled and immediate validation is simulated using buttons/images to be clicked by the user.
 boolean isHyperlink()
          Indicates whether or not the field's value should be displayed as a hyperlink.
 boolean isImmediateValidation()
          Indicates whether or not control should pass immediately to the Ebase Server when the user changes the field's value.
 boolean isMandatory()
          Indicates whether or not this is a mandatory field.
 void setButtonDisplayAsImage(boolean buttonDisplayAsImage)
          Sets whether or not the image specified in the buttonImageUrl property is displayed instead of a button.
 void setButtonImageUrl(java.lang.String buttonImageUrl)
          Sets the URL of the image to be displayed when the buttonDisplayAsImage is set to true.
 void setButtonSkipValidation(boolean buttonSkipValidation)
          Specifies whether or not validation of controls higher on the page is skipped prior to executing the button's on click event.
 void setDisplayIvAsImage(boolean displayIvAsImage)
          Sets whether or not a button is displayed as an image, and is applicable only when Javascript is disabled and immediate validation is simulated using buttons/images to be clicked by the user.
 void setHyperlink(boolean hyperlink)
          Sets whether or not the field's value should be displayed as a hyperlink.
 void setImmediateValidation(boolean immediateValidation)
          Sets whether or not control should pass immediately to the Ebase Server when the user changes the field's value.
 void setIvImageURL(java.lang.String url)
          Sets the URL of the image to be displayed when Javascript is disabled and immediate validation is simulated using an image to be clicked by the user (property displayIvAsImage is set to true).
 void setMandatory(boolean mandatory)
          Sets whether or not this is a mandatory field.
 

Method Detail

isImmediateValidation

boolean isImmediateValidation()
Indicates whether or not control should pass immediately to the Ebase Server when the user changes the field's value. This is normally configured together with an on click event for the Field Control that specifies the action to perform.

Since:
V4.4

setImmediateValidation

void setImmediateValidation(boolean immediateValidation)
Sets whether or not control should pass immediately to the Ebase Server when the user changes the field's value. This is normally configured together with an on click event that specifies the action to perform.

Since:
V4.4

isMandatory

boolean isMandatory()
Indicates whether or not this is a mandatory field. Mandatory fields are displayed with an asterisk(*) to the right of the label text, and validation messages are issued automatically if data is not entered by the user.

Since:
V4.4

setMandatory

void setMandatory(boolean mandatory)
Sets whether or not this is a mandatory field. Mandatory fields are displayed with an asterisk(*) to the right of the label text, and validation messages are issued automatically if data is not entered by the user.

Since:
V4.4

isHyperlink

boolean isHyperlink()
Indicates whether or not the field's value should be displayed as a hyperlink. When the user clicks the link, control is passed to the Ebase Server and the on click event for the Field Control is executed.

Since:
V4.4

setHyperlink

void setHyperlink(boolean hyperlink)
Sets whether or not the field's value should be displayed as a hyperlink. When the user clicks the link, control is passed to the Ebase Server and the on click event for the Field Control is executed.

Since:
V4.4

isButtonSkipValidation

boolean isButtonSkipValidation()
Returns whether or not validation of controls higher on the page is skipped prior to executing the button's on click event. This applies only to legacy (<= Ebase V3.4) button fields.

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).

Further documentation.

Since:
V4.4

setButtonSkipValidation

void setButtonSkipValidation(boolean buttonSkipValidation)
Specifies whether or not validation of controls higher on the page is skipped prior to executing the button's on click event. This applies only to legacy (<= Ebase V3.4) button fields.

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).

Further documentation.

Since:
V4.4

getButtonText

Text getButtonText()
Returns the Text object for the button text. This applies only to legacy (<= Ebase V3.4) button fields.

Since:
V4.4

isButtonDisplayAsImage

boolean isButtonDisplayAsImage()
Indicates whether or not the image specified in the buttonImageUrl property is displayed instead of a button. When displayed as an image, any configured button text is displayed as alternate text. This applies only to legacy (<= Ebase V3.4) button fields.

Since:
V4.4

setButtonDisplayAsImage

void setButtonDisplayAsImage(boolean buttonDisplayAsImage)
Sets whether or not the image specified in the buttonImageUrl property is displayed instead of a button. When displayed as an image, any configured button text is displayed as alternate text. This applies only to legacy (<= Ebase V3.4) button fields.

Since:
V4.4

getButtonImageUrl

java.lang.String getButtonImageUrl()
Returns the URL of the image to be displayed when the buttonDisplayAsImage is set to true. This applies only to legacy (<= Ebase V3.4) button fields.

Since:
V4.4

setButtonImageUrl

void setButtonImageUrl(java.lang.String buttonImageUrl)
Sets the URL of the image to be displayed when the buttonDisplayAsImage is set to true. This applies only to legacy (<= Ebase V3.4) button fields.

Since:
V4.4

isDisplayIvAsImage

boolean isDisplayIvAsImage()
Indicates that a button is displayed as an image, and is applicable only when Javascript is disabled and immediate validation is simulated using buttons/images to be clicked by the user.

Since:
V4.4

setDisplayIvAsImage

void setDisplayIvAsImage(boolean displayIvAsImage)
Sets whether or not a button is displayed as an image, and is applicable only when Javascript is disabled and immediate validation is simulated using buttons/images to be clicked by the user.

Since:
V4.4

getIvImageURL

java.lang.String getIvImageURL()
Returns the URL of the image to be displayed when Javascript is disabled and immediate validation is simulated using an image to be clicked by the user (displayIvAsImage is set to true).

Since:
V4.4

setIvImageURL

void setIvImageURL(java.lang.String url)
Sets the URL of the image to be displayed when Javascript is disabled and immediate validation is simulated using an image to be clicked by the user (property displayIvAsImage is set to true).

Since:
V4.4

getHyperlinkProperties

FieldHyperlinkProperties getHyperlinkProperties()
Hyperlink properties that apply when the field value should be displayed as a hyperlink (property hyperlink is set to true).

Since:
V4.4