public interface TableCellStyleProperties extends BackgroundStyleProperties, TextStyleProperties, PaddingStyleProperties, BorderStyleProperties
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHAlign()
Horizontal alignment.
|
java.lang.String |
getVAlign()
Vertical alignment.
|
void |
setHAlign(java.lang.String hAlign)
Sets horizontal alignment.
|
void |
setVAlign(java.lang.String vAlign)
Sets vertical alignment.
|
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatgetLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSizegetAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddinggetBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthjava.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.tableCellStyleProperties.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
java.lang.String getVAlign()
setVAlign(String) for details of supported values when setting this property.void setVAlign(java.lang.String vAlign)
Supported values:
| Value | Constant |
|---|---|
| Center | ControlConstants.VERTICAL_ALIGNMENT_CENTER |
| Top | ControlConstants.VERTICAL_ALIGNMENT_TOP |
| Bottom | ControlConstants.VERTICAL_ALIGNMENT_BOTTOM |
Example:
controls.TABLE1.tableCellStyleProperties.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);