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.
Further documentation.
Method Summary |
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. |
Methods inherited from interface com.ebasetech.xi.api.controls.Control |
getAll, getCssClass, getErrorMsgClass, getErrorMsgStyle, getLayoutCell, getNextSiblingControl, getPage, getParentControl, getPreviousSiblingControl, getStyle, getWarningMsgClass, getWarningMsgStyle, hasModifier, hide, isDisplayOnly, isDisplayOnlyIncludingParents, isEventField, isHidden, isInheritMsg, isLocalMsg, isNewLine, isShowing, refresh, requestFocus, setCssClass, setDisplayOnly, setErrorMsgClass, setErrorMsgStyle, setHidden, setNewLine, setStyle, setWarningMsgClass, setWarningMsgStyle, show |
Methods inherited from interface com.ebasetech.xi.api.MessageContainer |
addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addErrorMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, addWarningMessage, existErrorMessages, existMessages, existWarningMessages |
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.TextStyleProperties |
getLineHeight, getTextBold, getTextColor, getTextDecoration, getTextFont, getTextItalic, getTextSize, setLineHeight, setTextBold, setTextColor, setTextDecoration, setTextFont, setTextItalic, setTextSize |
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 to
null
removes 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.
See
setVAlign(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