TitleBarProperties

The TitleBarProperties interface represents styling properties applied to the title bar of a TitlePanelControl.

Further documentation.

TitleBarProperties Functions

getHAlign TitleBarProperties.getHAlign( ) Horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.
setHAlign TitleBarProperties.setHAlign( hAlign ) Sets the horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.

PaddingStyleProperties Functions

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

TextStyleProperties Functions

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