MessageStyleProperties

The MessageProperties interface represents styling properties of error and warning messages.

Further documentation.

MessageStyleProperties Functions

getHAlign MessageStyleProperties.getHAlign( ) Horizontal alignment.
setHAlign MessageStyleProperties.setHAlign( hAlign ) Sets horizontal alignment.

BackgroundStyleProperties Functions

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

BorderStyleProperties Functions

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

MarginStyleProperties Functions

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

PaddingStyleProperties Functions

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

TextStyleProperties Functions

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