FinishButtonControl

Finish Button Control is one of the supplied Ebase page navigation buttons. When placed on a page, the button will be displayed when no next page has been configured.

Further documentation.

EbaseButtonControlProperties Functions

isDisplayAsImage FinishButtonControl.isDisplayAsImage( ) Indicates whether or not the button is displayed as an image.
setDisplayAsImage FinishButtonControl.setDisplayAsImage( displayAsImage ) Sets whether or not the button is displayed as an image.
getImageUrl FinishButtonControl.getImageUrl( ) Returns the URL of the image when property #isDisplayAsImage() is true.
setImageUrl FinishButtonControl.setImageUrl( imageUrl ) Sets the URL of the image when property #isDisplayAsImage() is true.

BackgroundStyleProperties Functions

getBackgroundColor FinishButtonControl.getBackgroundColor( ) Background color.
setBackgroundColor FinishButtonControl.setBackgroundColor( backgroundColor ) Sets the background color, this is equivalent to the CSS background-color property and any valid value for this CSS property can be used.
getBackgroundImage FinishButtonControl.getBackgroundImage( ) URL of the background image.
setBackgroundImage FinishButtonControl.setBackgroundImage( backgroundImage ) Sets the URL of the background image.
getBackgroundImagePosition FinishButtonControl.getBackgroundImagePosition( ) Background image position.
setBackgroundImagePosition FinishButtonControl.setBackgroundImagePosition( backgroundImagePosition ) Sets the background image position.
getBackgroundImageRepeat FinishButtonControl.getBackgroundImageRepeat( ) Background image repeat property.
setBackgroundImageRepeat FinishButtonControl.setBackgroundImageRepeat( backgroundImageRepeat ) Sets the background image repeat property.

BorderStyleProperties Functions

getBorderColor FinishButtonControl.getBorderColor( ) Border color applied to all borders.
setBorderColor FinishButtonControl.setBorderColor( borderColor ) Sets border color.
getBorderRadius FinishButtonControl.getBorderRadius( ) Border radius.
setBorderRadius FinishButtonControl.setBorderRadius( borderRadius ) Sets border radius.
getBorderStyle FinishButtonControl.getBorderStyle( ) Border style applied to all borders.
setBorderStyle FinishButtonControl.setBorderStyle( borderStyle ) Sets border style.
getBorderWidth FinishButtonControl.getBorderWidth( ) Border width applied to all four borders.
setBorderWidth FinishButtonControl.setBorderWidth( borderWidth ) Sets the border width applied to all four borders.
getBottomBorderWidth FinishButtonControl.getBottomBorderWidth( ) Bottom border width, overriding property borderWidth.
setBottomBorderWidth FinishButtonControl.setBottomBorderWidth( bottomBorderWidth ) Sets the bottom border width, overriding property borderWidth.
getLeftBorderWidth FinishButtonControl.getLeftBorderWidth( ) Left border width, overriding property borderWidth.
setLeftBorderWidth FinishButtonControl.setLeftBorderWidth( leftBorderWidth ) Sets the left border width, overriding property borderWidth.
getRightBorderWidth FinishButtonControl.getRightBorderWidth( ) Right border width, overriding property borderWidth.
setRightBorderWidth FinishButtonControl.setRightBorderWidth( rightBorderWidth ) Sets the right border width, overriding property borderWidth.
getTopBorderWidth FinishButtonControl.getTopBorderWidth( ) Top border width, overriding property borderWidth.
setTopBorderWidth FinishButtonControl.setTopBorderWidth( topBorderWidth ) Sets the top border width, overriding property borderWidth.

Control Functions

addCssClass FinishButtonControl.addCssClass( cssClass ) Adds one or more CSS classes to the list of classes applied to the control, retaining any existing classes.
getAll FinishButtonControl.getAll( ) Returns a control object of the same type as the control object on which this method is invoked, that gives access to all occurrences of this control on the page.
isContainer FinishButtonControl.isContainer( ) Returns true if this control is a container control i.e.
getCssClass FinishButtonControl.getCssClass( ) Returns the list of CSS classes configured for the control.
setCssClass FinishButtonControl.setCssClass( cssClass ) Sets one or more CSS classes to be applied to the control.
isDisplayOnly FinishButtonControl.isDisplayOnly( ) Returns true if the control is marked as display only, otherwise returns false.
setDisplayOnly FinishButtonControl.setDisplayOnly( displayOnly ) Marks the control and all its children as display only (when displayOnly is true) or enterable (when displayOnly is false).
isDisplayOnlyIncludingParents FinishButtonControl.isDisplayOnlyIncludingParents( ) Returns true if the control or any of its parents is marked as display only, otherwise returns false.
getErrorMsgClass FinishButtonControl.getErrorMsgClass( ) Returns the list of CSS classes configured for error messages when the messages are displayed locally to the control.
setErrorMsgClass FinishButtonControl.setErrorMsgClass( errorMsgClass ) Sets one or more CSS classes to be applied to error messages when the messages are displayed locally to the control.
getErrorMsgStyle FinishButtonControl.getErrorMsgStyle( ) Returns the inline CSS style configured for error messages when the messages are displayed locally to the control.
setErrorMsgStyle FinishButtonControl.setErrorMsgStyle( errorMsgStyle ) Sets inline CSS style to be applied to error messages when the messages are displayed locally to the control.
isEventField FinishButtonControl.isEventField( ) Returns true if the control is an event field i.e.
hasModifier FinishButtonControl.hasModifier( modifier ) Returns true if the control has the specified modifier, otherwise returns false.
isHidden FinishButtonControl.isHidden( ) Returns true if the control is marked as hidden, otherwise returns false.
setHidden FinishButtonControl.setHidden( hidden ) Hides or shows the control and all its children.
hide FinishButtonControl.hide( ) Hides the control, this is equivalent to setting property hidden to true.
getInfoMsgClass FinishButtonControl.getInfoMsgClass( ) Returns the list of CSS classes configured for info messages when the messages are displayed locally to the control.
setInfoMsgClass FinishButtonControl.setInfoMsgClass( infoMsgClass ) Sets one or more CSS classes to be applied to info messages when the messages are displayed locally to the control.
getInfoMsgStyle FinishButtonControl.getInfoMsgStyle( ) Returns the inline CSS style configured for info messages when the messages are displayed locally to the control.
setInfoMsgStyle FinishButtonControl.setInfoMsgStyle( infoMsgStyle ) Sets inline CSS style to be applied to info messages when the messages are displayed locally to the control.
isInheritMsg FinishButtonControl.isInheritMsg( ) Returns true if Use parent control setting is checked in the Message Options properties for the control, otherwise returns false.
getLayoutCell FinishButtonControl.getLayoutCell( ) Returns the LayoutCell object which can be used to override properties of the parent control's layout as applied to this control.
isLocalMsg FinishButtonControl.isLocalMsg( ) Returns true if Local Message is checked in the Message Options properties for the control, otherwise returns false.
isNewLine FinishButtonControl.isNewLine( ) Returns the new line property.
setNewLine FinishButtonControl.setNewLine( newLine ) Sets or unsets the control's new line property.
getNextSiblingControl FinishButtonControl.getNextSiblingControl( ) Returns the control that appears after this control within the same parent, or null if no such control exists.
getPage FinishButtonControl.getPage( ) Returns the com.ebasetech.xi.api.Page where this control is located.
getParentControl FinishButtonControl.getParentControl( ) Returns this control's parent control or null if no such parent exists.
getPreviousSiblingControl FinishButtonControl.getPreviousSiblingControl( ) Returns the control that appears before this control within the same parent, or null if no such control exists.
refresh FinishButtonControl.refresh( ) Refreshes this control in the user's browser when the page is next displayed.
removeCssClass FinishButtonControl.removeCssClass( cssClass ) Removes one or more CSS classes from the control.
requestFocus FinishButtonControl.requestFocus( ) Sets the browser focus to the control.
getRootHtmlElementProperties FinishButtonControl.getRootHtmlElementProperties( ) Return the root com.ebasetech.xi.api.controls.HtmlElementProperties for the Control
show FinishButtonControl.show( ) Shows the control, this is equivalent to setting property hidden to false.
isShowing FinishButtonControl.isShowing( ) Returns true if the control will be included in the web page when it's next displayed to the user, otherwise returns false.
getStyle FinishButtonControl.getStyle( ) Returns the inline CSS style configured for the control.
setStyle FinishButtonControl.setStyle( style ) Sets inline CSS style to be applied to the control.
getWarningMsgClass FinishButtonControl.getWarningMsgClass( ) Returns the list of CSS classes configured for warning messages when the messages are displayed locally to the control.
setWarningMsgClass FinishButtonControl.setWarningMsgClass( warningMsgClass ) Sets one or more CSS classes to be applied to warning messages when the messages are displayed locally to the control.
getWarningMsgStyle FinishButtonControl.getWarningMsgStyle( ) Returns the inline CSS style configured for warning messages when the messages are displayed locally to the control.
setWarningMsgStyle FinishButtonControl.setWarningMsgStyle( warningMsgStyle ) Sets inline CSS style to be applied to warning messages when the messages are displayed locally to the control.

MarginStyleProperties Functions

getAllMargin FinishButtonControl.getAllMargin( ) Single MarginStyleProperties size value used for top, bottom, left and right margin.
setAllMargin FinishButtonControl.setAllMargin( allMargin ) Sets the MarginStyleProperties size value used for top, bottom, left and right margin.
getBottomMargin FinishButtonControl.getBottomMargin( ) Bottom MarginStyleProperties size value.
setBottomMargin FinishButtonControl.setBottomMargin( bottomMargin ) Sets the bottom MarginStyleProperties size value.
getLeftMargin FinishButtonControl.getLeftMargin( ) Left MarginStyleProperties size value.
setLeftMargin FinishButtonControl.setLeftMargin( leftMargin ) Sets the left MarginStyleProperties size value.
getRightMargin FinishButtonControl.getRightMargin( ) Right MarginStyleProperties size value.
setRightMargin FinishButtonControl.setRightMargin( rightMargin ) Sets the right MarginStyleProperties size value.
getTopMargin FinishButtonControl.getTopMargin( ) Top MarginStyleProperties size value.
setTopMargin FinishButtonControl.setTopMargin( topMargin ) Sets the top MarginStyleProperties size value.

PaddingStyleProperties Functions

getAllPadding FinishButtonControl.getAllPadding( ) Single PaddingStyleProperties size value used for top, bottom, left and right padding.
setAllPadding FinishButtonControl.setAllPadding( allPadding ) Sets the PaddingStyleProperties size value used for top, bottom, left and right padding.
getBottomPadding FinishButtonControl.getBottomPadding( ) Bottom PaddingStyleProperties size value.
setBottomPadding FinishButtonControl.setBottomPadding( bottomPadding ) Sets the bottom PaddingStyleProperties size value.
getLeftPadding FinishButtonControl.getLeftPadding( ) Left PaddingStyleProperties size value.
setLeftPadding FinishButtonControl.setLeftPadding( leftPadding ) Sets the left PaddingStyleProperties size value.
getRightPadding FinishButtonControl.getRightPadding( ) Right PaddingStyleProperties size value.
setRightPadding FinishButtonControl.setRightPadding( rightPadding ) Sets the right PaddingStyleProperties size value.
getTopPadding FinishButtonControl.getTopPadding( ) Top PaddingStyleProperties size value.
setTopPadding FinishButtonControl.setTopPadding( topPadding ) Sets the top PaddingStyleProperties size value.

TextStyleProperties Functions

getLineHeight FinishButtonControl.getLineHeight( ) Line height.
setLineHeight FinishButtonControl.setLineHeight( lineHeight ) Sets the line height, this is equivalent to the CSS line-height property and any valid value for this CSS property can be used.
getTextBold FinishButtonControl.getTextBold( ) Text bold setting.
setTextBold FinishButtonControl.setTextBold( textBold ) Sets the text bold setting.
getTextColor FinishButtonControl.getTextColor( ) Text color.
setTextColor FinishButtonControl.setTextColor( textColor ) Sets the text color, this is equivalent to the CSS color property and any valid value for this CSS property can be used.
getTextDecoration FinishButtonControl.getTextDecoration( ) Text decoration property (shown as Lines in the designer).
setTextDecoration FinishButtonControl.setTextDecoration( textDecoration ) Sets the text decoration property (shown as Lines in the designer).
getTextFont FinishButtonControl.getTextFont( ) List of text fonts.
setTextFont FinishButtonControl.setTextFont( textFont ) Sets the list of text fonts, this is equivalent to the CSS font-family property and any valid value for this CSS property can be used.
getTextItalic FinishButtonControl.getTextItalic( ) Text italic setting.
setTextItalic FinishButtonControl.setTextItalic( textItalic ) Sets the text italic setting.
getTextSize FinishButtonControl.getTextSize( ) Text size.
setTextSize FinishButtonControl.setTextSize( textSize ) Sets the text size, this is equivalent to the CSS font-size property and any valid value for this CSS property can be used.

MessageContainer Functions

addErrorMessage FinishButtonControl.addErrorMessage( message [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessage FinishButtonControl.addErrorMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessageText FinishButtonControl.addErrorMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user, sourced from an existing text.
addInfoMessage FinishButtonControl.addInfoMessage( message [, stopProcessing ] ) Adds an information message that will be displayed to the user.
addInfoMessageText FinishButtonControl.addInfoMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an info message that will be displayed to the user, sourced from an existing text.
addWarningMessage FinishButtonControl.addWarningMessage( message [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessage FinishButtonControl.addWarningMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessageText FinishButtonControl.addWarningMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user, sourced from an existing text.
existErrorMessages FinishButtonControl.existErrorMessages( ) Returns true if undisplayed error messages exist for this element, otherwise returns false.
existInfoMessages FinishButtonControl.existInfoMessages( ) Returns true if undisplayed info messages exist for this element, otherwise returns false.
existMessages FinishButtonControl.existMessages( ) Returns true if undisplayed info, warning or error messages exist for this element, otherwise returns false.
existWarningMessages FinishButtonControl.existWarningMessages( ) Returns true if undisplayed warning messages exist for this element, otherwise returns false.

Element Functions

getElementName FinishButtonControl.getElementName( ) Returns the element name
getElementType FinishButtonControl.getElementType( ) Returns the element type