public interface GXITableCellTag extends GXITag
onNewTableCell
event is thrown when a new table cell is created by the Renderer.
The method getContent()
returns the text of the cell. If it's empty, it returns the content of the 1st child tag,
which is common behavior in host tables.
The method getHostField()
returns the host field the cell is based on.
To create a new table cell use GXHtmlTagFactory.instance().newTableCell(...)
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText()
Returns the cell's text.
|
void |
setIsHeader(boolean isHeader)
Determines if the cell is a table header cell or a table body cell.
|
void |
setText(java.lang.String text)
Sets the cell's text.
|
copyFrom, getAttribute, getBottomMargin, getBottomPadding, getChildren, getContent, getHostField, getId, getLength, getOffsetHeight, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, getTopMargin, getTopPadding, hasChildren, isVisible, removeAttribute, setAttribute, setBottomMargin, setBottomPadding, setId, setLength, setOffsetHeight, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setTopMargin, setTopPadding, setVisible, setVisible
void setIsHeader(boolean isHeader)
isHeader
- if the cell is a header celljava.lang.String getText()
void setText(java.lang.String text)
text
- the cell's textCopyright 2018 Software AG. All rights reserved. Use is subject to license terms.