public interface AddRowButtonProperties extends BackgroundStyleProperties, TextStyleProperties, BorderStyleProperties, PaddingStyleProperties, BootstrapButtonStyle
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHAlign()
Text horizontal alignment.
|
java.lang.String |
getWidth()
Width of the add row button.
|
void |
setHAlign(java.lang.String hAlign)
Sets the text horizontal alignment.
|
void |
setWidth(java.lang.String width)
Sets the add row button width.
|
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
getBootstrapSize, getBootstrapState, getBootstrapStyle, setBootstrapSize, setBootstrapState, setBootstrapStyle
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. 20px
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.addRowStyleProperties.addRowButtonProperties.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);