Package 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.
 - Since:
 - V4.4
 
- 
Method Summary
Modifier and Type Method Description java.lang.StringgetHAlign()Horizontal alignment for the title bar - both the title text and any optional image are aligned together as a block.voidsetHAlign(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.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddingMethods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize 
- 
Method Details
- 
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. SeesetHAlign(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:
Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT Example:
controls.TITLEPANEL1.titleBarStyle.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
- Since:
 - V4.4
 
 
 -