PrevPageButtonControl

Previous Page Button Control is one of the supplied Ebase page navigation buttons. When placed on a page, the button will be displayed when a previous page exists i.e. when the user has navigated to the page by paging forwards or WebForm#gotoPage(com.ebasetech.xi.api.Page) has been issued; when no previous page exists, the button is not displayed.

Further documentation.

EbaseButtonControlProperties Functions

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

BackgroundStyleProperties Functions

getBackgroundColor PrevPageButtonControl.getBackgroundColor( ) Background color.
setBackgroundColor PrevPageButtonControl.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 PrevPageButtonControl.getBackgroundImage( ) URL of the background image.
setBackgroundImage PrevPageButtonControl.setBackgroundImage( backgroundImage ) Sets the URL of the background image.
getBackgroundImagePosition PrevPageButtonControl.getBackgroundImagePosition( ) Background image position.
setBackgroundImagePosition PrevPageButtonControl.setBackgroundImagePosition( backgroundImagePosition ) Sets the background image position.
getBackgroundImageRepeat PrevPageButtonControl.getBackgroundImageRepeat( ) Background image repeat property.
setBackgroundImageRepeat PrevPageButtonControl.setBackgroundImageRepeat( backgroundImageRepeat ) Sets the background image repeat property.

BorderStyleProperties Functions

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

Control Functions

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

MarginStyleProperties Functions

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

PaddingStyleProperties Functions

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

TextStyleProperties Functions

getLineHeight PrevPageButtonControl.getLineHeight( ) Line height.
setLineHeight PrevPageButtonControl.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 PrevPageButtonControl.getTextBold( ) Text bold setting.
setTextBold PrevPageButtonControl.setTextBold( textBold ) Sets the text bold setting.
getTextColor PrevPageButtonControl.getTextColor( ) Text color.
setTextColor PrevPageButtonControl.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 PrevPageButtonControl.getTextDecoration( ) Text decoration property (shown as Lines in the designer).
setTextDecoration PrevPageButtonControl.setTextDecoration( textDecoration ) Sets the text decoration property (shown as Lines in the designer).
getTextFont PrevPageButtonControl.getTextFont( ) List of text fonts.
setTextFont PrevPageButtonControl.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 PrevPageButtonControl.getTextItalic( ) Text italic setting.
setTextItalic PrevPageButtonControl.setTextItalic( textItalic ) Sets the text italic setting.
getTextSize PrevPageButtonControl.getTextSize( ) Text size.
setTextSize PrevPageButtonControl.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 PrevPageButtonControl.addErrorMessage( message [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessage PrevPageButtonControl.addErrorMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user.
addErrorMessageText PrevPageButtonControl.addErrorMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an error message that will be displayed to the user, sourced from an existing text.
addInfoMessage PrevPageButtonControl.addInfoMessage( message [, stopProcessing ] ) Adds an information message that will be displayed to the user.
addInfoMessageText PrevPageButtonControl.addInfoMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds an info message that will be displayed to the user, sourced from an existing text.
addWarningMessage PrevPageButtonControl.addWarningMessage( message [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessage PrevPageButtonControl.addWarningMessage( messageNo [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user.
addWarningMessageText PrevPageButtonControl.addWarningMessageText( text [, replaceParameters ] [, stopProcessing ] ) Adds a warning message that will be displayed to the user, sourced from an existing text.
existErrorMessages PrevPageButtonControl.existErrorMessages( ) Returns true if undisplayed error messages exist for this element, otherwise returns false.
existInfoMessages PrevPageButtonControl.existInfoMessages( ) Returns true if undisplayed info messages exist for this element, otherwise returns false.
existMessages PrevPageButtonControl.existMessages( ) Returns true if undisplayed info, warning or error messages exist for this element, otherwise returns false.
existWarningMessages PrevPageButtonControl.existWarningMessages( ) Returns true if undisplayed warning messages exist for this element, otherwise returns false.

Element Functions

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