Package com.ebasetech.xi.api.controls
Interface GridCellControl
- All Superinterfaces:
BackgroundStyleProperties,BorderStyleProperties,ContainerControl,Control,Element,EventOwner,LayoutControl,MessageContainer,MessageProperties,PaddingStyleProperties,java.io.Serializable,TextStyleProperties,WebFormEventOwner
public interface GridCellControl extends LayoutControl, BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties, TextStyleProperties
A Grid Cell Control represents a single cell within a
Grid Control.
It is a system control and cannot be inserted or deleted manually; instead Grid Cell Controls are added and deleted automatically
as a result of designer actions such as insert column, delete column etc.
Each Grid Cell Control acts as a container for any content added to it.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetHeight()Grid cell height.java.lang.StringgetVAlign()Vertical alignment for all child content - all child controls are aligned as a single block.voidsetHeight(java.lang.String height)Sets the grid cell height, and is equivalent to the CSS height property and any valid value for this CSS property can be used.voidsetVAlign(java.lang.String vAlign)Sets the vertical alignment for all child content where all child controls are aligned as a single block.Methods inherited from interface com.ebasetech.xi.api.controls.BackgroundStyleProperties
getBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatMethods inherited from interface com.ebasetech.xi.api.controls.BorderStyleProperties
getBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthMethods inherited from interface com.ebasetech.xi.api.controls.ContainerControl
getChildControlsMethods inherited from interface com.ebasetech.xi.api.controls.Control
addCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getRootHtmlElementProperties, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isContainer, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, removeCssClass, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setInfoMsgClass, setInfoMsgStyle, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, showMethods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementTypeMethods inherited from interface com.ebasetech.xi.api.controls.LayoutControl
getLayout, getLayoutTypeMethods inherited from interface com.ebasetech.xi.api.MessageContainer
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessagesMethods inherited from interface com.ebasetech.xi.api.controls.MessageProperties
getErrorMessageStyle, getInfoMessageStyle, getWarningMessageStyleMethods inherited from interface com.ebasetech.xi.api.controls.PaddingStyleProperties
getAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddingMethods inherited from interface com.ebasetech.xi.api.controls.TextStyleProperties
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize
-
Method Details
-
getHeight
java.lang.String getHeight()Grid cell height. This is equivalent to the CSS height property, and any valid value for this CSS property can be used when setting a value.- Since:
- V4.4
- See Also:
setHeight(String)
-
setHeight
void setHeight(java.lang.String height)Sets the grid cell height, and is equivalent to the CSS height property and any valid value for this CSS property can be used. Setting this property tonullremoves any existing value.Examples:
controls.GRIDCELL1.height = "50px"; controls.GRIDCELL1.setHeight("100px");- Since:
- V4.4
-
getVAlign
java.lang.String getVAlign()Vertical alignment for all child content - all child controls are aligned as a single block. SeesetVAlign(String)for details of supported values when setting this property.- Since:
- V4.4
-
setVAlign
void setVAlign(java.lang.String vAlign)Sets the vertical alignment for all child content where all child controls are aligned as a single block.Supported values:
Value Constant Center ControlConstants.VERTICAL_ALIGNMENT_CENTER Top ControlConstants.VERTICAL_ALIGNMENT_TOP Bottom ControlConstants.VERTICAL_ALIGNMENT_BOTTOM Example:
controls.GRIDCELL1.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);
- Since:
- V4.4
-