BasicBlockControl

BasicBlockControl is one these types:

BasicBlockControl
ArticleControl
AsideControl
BootstrapContainerControl
FooterControl
HeaderControl
ListControl
ListItemControl
ListPanelControl
MainControl
NavControl
PanelControl
SectionControl

BasicBlockControl Functions

getHeight BasicBlockControl.getHeight( ) Panel height.
setHeight BasicBlockControl.setHeight( height ) Sets the panel height, and is equivalent to the CSS height property and any valid value for this CSS property can be used.
getWidth BasicBlockControl.getWidth( ) Panel width.
setWidth BasicBlockControl.setWidth( width ) Sets the panel width.

AriaControlProperties Functions

addAriaCustomAttribute BasicBlockControl.addAriaCustomAttribute( name , value ) Add an ARIA custom attribute with a specified name and value.
getAriaCustomAttributes BasicBlockControl.getAriaCustomAttributes( ) Returns a comma separated list of the ARIA custom attributes for the control.
setAriaCustomAttributes BasicBlockControl.setAriaCustomAttributes( ariaCustomAttributes ) Sets the ARIA custom attributes as a comma separated list associated with the control property and overrides the aria custom attributes value.
getAriaDescribedBy BasicBlockControl.getAriaDescribedBy( ) Returns the ARIA described-by element ID for the control.
getAriaLabelledBy BasicBlockControl.getAriaLabelledBy( ) Returns the ARIA labelled-by element ID for the control.
getAriaLabelText BasicBlockControl.getAriaLabelText( ) Returns the com.ebasetech.xi.api.Text object for the ARIA label text.
getAriaRole BasicBlockControl.getAriaRole( ) Returns the ARIA role for the control.
setAriaRole BasicBlockControl.setAriaRole( role ) Sets the ARIA role for the control.
removeAriaCustomAttribute BasicBlockControl.removeAriaCustomAttribute( name ) Remove an ARIA custom attribute specified by name.

BackgroundStyleProperties Functions

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

BorderStyleProperties Functions

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

LayoutControl Functions

getLayout BasicBlockControl.getLayout( ) Returns the Layout object configured for the container control or null if no layout is configured.
getLayoutType BasicBlockControl.getLayoutType( ) Returns a String representing the layout type for the container.

MarginStyleProperties Functions

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

PaddingStyleProperties Functions

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

TextStyleProperties Functions

getLineHeight BasicBlockControl.getLineHeight( ) Line height.
setLineHeight BasicBlockControl.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 BasicBlockControl.getTextBold( ) Text bold setting.
setTextBold BasicBlockControl.setTextBold( textBold ) Sets the text bold setting.
getTextColor BasicBlockControl.getTextColor( ) Text color.
setTextColor BasicBlockControl.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 BasicBlockControl.getTextDecoration( ) Text decoration property (shown as Lines in the designer).
setTextDecoration BasicBlockControl.setTextDecoration( textDecoration ) Sets the text decoration property (shown as Lines in the designer).
getTextFont BasicBlockControl.getTextFont( ) List of text fonts.
setTextFont BasicBlockControl.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 BasicBlockControl.getTextItalic( ) Text italic setting.
setTextItalic BasicBlockControl.setTextItalic( textItalic ) Sets the text italic setting.
getTextSize BasicBlockControl.getTextSize( ) Text size.
setTextSize BasicBlockControl.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.

ContainerControl Functions

getChildControls BasicBlockControl.getChildControls( ) Returns an array of controls that are immediate children of this control.

MessageProperties Functions

getErrorMessageStyle BasicBlockControl.getErrorMessageStyle( ) Returns the MessageStyleProperties object representing error message styling properties.
getInfoMessageStyle BasicBlockControl.getInfoMessageStyle( ) Returns the MessageStyleProperties object representing info message styling properties.
getWarningMessageStyle BasicBlockControl.getWarningMessageStyle( ) Returns the MessageStyleProperties object representing warning message styling properties.

Control Functions

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

MessageContainer Functions

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

Element Functions

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