public interface TabAllStateProperties extends TextStyleProperties, PaddingStyleProperties
TabAllStateProperties interface represents styling properties applied to all tab states in a TabSetControl.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHAlign()
Horizontal alignment for the text within a tab header - this is only effective if a tab width has been specified.
|
void |
setHAlign(java.lang.String hAlign)
Sets the horizontal alignment for the text within a tab header - this is only effective if a tab width has been specified.
|
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSizegetAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddingjava.lang.String getHAlign()
setHAlign(String) for details of supported values when setting this property.void setHAlign(java.lang.String hAlign)
Supported values:
| Value | Constant |
|---|---|
| Center | ControlConstants.HORIZONTAL_ALIGNMENT_CENTER |
| Left | ControlConstants.HORIZONTAL_ALIGNMENT_LEFT |
| Right | ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT |
Example:
controls.TABSET1.allState.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);