public interface GridCellControl extends LayoutControl, BackgroundStyleProperties, BorderStyleProperties, PaddingStyleProperties, TextStyleProperties
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.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHeight()
Grid cell height.
|
java.lang.String |
getVAlign()
Vertical alignment for all child content - all child controls are aligned as a single block.
|
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.
|
void |
setVAlign(java.lang.String vAlign)
Sets the vertical alignment for all child content where all child controls are aligned as a single block.
|
getLayout, getLayoutTypegetChildControlsaddCssClass, getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getInfoMsgClass, getInfoMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, 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, showgetElementName, getElementTypeaddErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessageText, addErrorMessageText, addErrorMessageText, addInfoMessage, addInfoMessage, addInfoMessageText, addInfoMessageText, addInfoMessageText, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessageText, addWarningMessageText, addWarningMessageText, existErrorMessages, existInfoMessages, existMessages, existWarningMessagesgetErrorMessageStyle, getInfoMessageStyle, getWarningMessageStylegetBackgroundColor, getBackgroundImage, getBackgroundImagePosition, getBackgroundImageRepeat, setBackgroundColor, setBackgroundImage, setBackgroundImagePosition, setBackgroundImageRepeatgetBorderColor, getBorderRadius, getBorderStyle, getBorderWidth, getBottomBorderWidth, getLeftBorderWidth, getRightBorderWidth, getTopBorderWidth, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setBottomBorderWidth, setLeftBorderWidth, setRightBorderWidth, setTopBorderWidthgetAllPadding, getBottomPadding, getLeftPadding, getRightPadding, getTopPadding, setAllPadding, setBottomPadding, setLeftPadding, setRightPadding, setTopPaddinggetLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSizejava.lang.String getHeight()
setHeight(String)void setHeight(java.lang.String height)
null removes any existing value.
Examples:
controls.GRIDCELL1.height = "50px";
controls.GRIDCELL1.setHeight("100px");
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.GRIDCELL1.setVAlign(ControlConstants.VERTICAL_ALIGNMENT_TOP);