Package com.ebasetech.xi.api.controls
Interface TabAllStateProperties
- All Superinterfaces:
PaddingStyleProperties
,TextStyleProperties
public interface TabAllStateProperties extends TextStyleProperties, PaddingStyleProperties
The
TabAllStateProperties
interface represents styling properties applied to all tab states in a TabSetControl
.
- Since:
- V4.4
-
Method Summary
Modifier and Type Method 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.Methods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
Methods 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 text within a tab header - this is only effective if a tab width has been specified. 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 text within a tab header - this is only effective if a tab width has been specified.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);
- Since:
- V4.4
-