public interface CellStyleProperties extends TextStyleProperties, BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHAlign()
Horizontal alignment of table cell content.
|
java.lang.String |
getVAlign()
Vertical alignment of table cell content.
|
java.lang.String |
getWidth()
Width of the table column.
|
void |
setHAlign(java.lang.String hAlign)
Sets the horizontal alignment of table cell content.
|
void |
setVAlign(java.lang.String vAlign)
Sets the vertical alignment of table cell content.
|
void |
setWidth(java.lang.String width)
Sets the width of the table column.
|
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
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 getWidth()
setWidth(String)
for details of supported values when setting this property.void setWidth(java.lang.String width)
Any valid value for the CSS width property can be specified e.g. 300px
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.FIELDCOLUMN1.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.FIELDCOLUMN1.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);