com.ebasetech.xi.api.controls
Interface TitleBarProperties

All Superinterfaces:
PaddingStyleProperties, TextStyleProperties

public interface TitleBarProperties
extends TextStyleProperties, PaddingStyleProperties

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

Further documentation.

Since:
V4.4

Method Summary
 java.lang.String getHAlign()
          Horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.
 void setHAlign(java.lang.String hAlign)
          Sets the horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.
 
Methods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
 
Methods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
 

Method Detail

getHAlign

java.lang.String getHAlign()
Horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block. See setHAlign(String) for details of supported values when setting this property.

Since:
V4.4

setHAlign

void setHAlign(java.lang.String hAlign)
Sets the horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.

Supported values:

ValueConstant
CenterControlConstants.HORIZONTAL_ALIGNMENT_CENTER
LeftControlConstants.HORIZONTAL_ALIGNMENT_LEFT
RightControlConstants.HORIZONTAL_ALIGNMENT_RIGHT

Example:

 controls.TITLEPANEL1.titleBarStyle.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
 

Since:
V4.4