public interface TableControlTextProperties extends BackgroundStyleProperties, TextStyleProperties, BorderStyleProperties, PaddingStyleProperties
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHAlign()
Text horizontal alignment.
|
void |
setHAlign(java.lang.String hAlign)
Sets the text horizontal alignment.
|
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
java.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.TABLE1.headerStyleProperties.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);