com.ebasetech.xi.api.controls
Interface TableControlTextProperties

All Superinterfaces:
BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties, TextStyleProperties

public interface TableControlTextProperties
extends BackgroundStyleProperties, TextStyleProperties, BorderStyleProperties, PaddingStyleProperties


Method Summary
 java.lang.String getHAlign()
          Text horizontal alignment.
 void setHAlign(java.lang.String hAlign)
          Sets the text horizontal alignment.
 
Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeat
 
Methods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
 
Methods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidth
 
Methods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPadding
 

Method Detail

getHAlign

java.lang.String getHAlign()
Text horizontal alignment. See setHAlign(String) for details of supported values when setting this property.

Since:
V4.4

setHAlign

void setHAlign(java.lang.String hAlign)
Sets the text horizontal alignment.

Supported values:

ValueConstant
CenterControlConstants.HORIZONTAL_ALIGNMENT_CENTER
LeftControlConstants.HORIZONTAL_ALIGNMENT_LEFT
RightControlConstants.HORIZONTAL_ALIGNMENT_RIGHT

Example:

 controls.TABLE1.headerStyleProperties.setHAlign(ControlConstants.HORIZONTAL_ALIGNMENT_CENTER);
 

Since:
V4.4