Package com.ebasetech.xi.api.controls
Interface FormHeaderProperties
- All Superinterfaces:
- BackgroundStyleProperties,- PaddingStyleProperties,- TextStyleProperties
public interface FormHeaderProperties extends BackgroundStyleProperties, TextStyleProperties, PaddingStyleProperties
Properties for the optional form header text.
- Since:
- V4.4
- 
Method SummaryModifier and Type Method Description java.lang.StringgetHAlign()Horizontal alignment for the form header text.java.lang.StringgetPageContentsGap()The gap between any form header text and the rest of the page contents.voidsetHAlign(java.lang.String hAlign)Sets the horizontal alignment for the form header text.voidsetPageContentsGap(java.lang.String pageContentsGap)Sets the gap between any form header text and the rest of the page contents.Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStylePropertiesgetBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatMethods inherited from interface com.ebasetech.xi.api.controls.PaddingStylePropertiesgetAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddingMethods inherited from interface com.ebasetech.xi.api.controls.TextStylePropertiesgetLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
- 
Method Details- 
getHAlignjava.lang.String getHAlign()Horizontal alignment for the form header text. SeesetHAlign(String)for details of supported values when setting this property.- Since:
- V4.4
 
- 
setHAlignvoid setHAlign(java.lang.String hAlign)Sets the horizontal alignment for the form header text.Supported values: Value Constant Center ControlConstants.HORIZONTAL_ALIGNMENT_CENTER Left ControlConstants.HORIZONTAL_ALIGNMENT_LEFT Right ControlConstants.HORIZONTAL_ALIGNMENT_RIGHT - Since:
- V4.4
 
- 
getPageContentsGapjava.lang.String getPageContentsGap()The gap between any form header text and the rest of the page contents. Ignored if no form header text is configured.- Since:
- V4.4
- See Also:
- setPageContentsGap(String)
 
- 
setPageContentsGapvoid setPageContentsGap(java.lang.String pageContentsGap)Sets the gap between any form header text and the rest of the page contents. Ignored if no form header text is configured. Any valid value for the CSS margin-bottom property can be used.Examples: controls.PAGE1.formHeaderProperties.pageContentsGap = "10px"; - Since:
- V4.4
 
 
-