@JsType(isNative=true, name="HTMLTableCellElement", namespace="<global>") public final class TableCell extends BaseHtmlElement
BaseEventTarget.EventListenerCallback| Modifier and Type | Field and Description |
|---|---|
static String |
TAG
The tag for this element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlign()
Returns the alignment of the element's contents with respect to the surrounding context.
|
int |
getCellIndex()
Returns a value representing the cell's position in the cells collection of the <tr> the cell is contained within.
|
int |
getColSpan()
Returns the value indicating the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
|
String |
getHeight()
Returns the length of pixel of the hinted height of the cell.
|
int |
getRowSpan()
Returns the value indicating the number of rows this cell must span; this lets a cell occupy space across multiple rows of the table.
|
String |
getVAlign()
Returns the content of the cell must be vertically aligned.
|
String |
getWidth()
Returns the number of pixels wide the cell should be drawn, if possible.
|
boolean |
isNoWrap()
Returns the value reflecting the nowrap attribute and indicating if cell content can be broken in several lines.
|
void |
setAlign(String align)
Sets the alignment of the element's contents with respect to the surrounding context.
|
void |
setColSpan(int colSpan)
Sets the value indicating the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table.
|
void |
setHeight(String height)
Sets the length of pixel of the hinted height of the cell.
|
void |
setNoWrap(boolean noWrap)
Sets the value reflecting the nowrap attribute and indicating if cell content can be broken in several lines.
|
void |
setRowSpan(int rowSpan)
Sets the value indicating the number of rows this cell must span; this lets a cell occupy space across multiple rows of the table.
|
void |
setVAlign(String vAlign)
Sets the content of the cell must be vertically aligned.
|
void |
setWidth(String width)
Sets the number of pixels wide the cell should be drawn, if possible.
|
getAbsoluteLeft, getAbsoluteTop, getInnerText, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getParentHtmlElement, getScrollingElement, getStyle, getTabIndex, removeFromParent, setInnerText, setTabIndexgetAttributes, getChildElementCount, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByTagName, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getNextElementSibling, getOuterHTML, getPreviousElementSibling, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getTagName, hasAttributes, remove, setId, setInnerHTMLappendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getTextContent, hasChildNodes, insertBefore, removeAllChildren, removeChild, setNodeValue, setTextContentaddEventListener, removeEventListener@JsOverlay public static final String TAG
@JsProperty public String getAlign()
@JsProperty public void setAlign(String align)
align - the alignment of the element's contents with respect to the surrounding context@JsProperty public int getCellIndex()
@JsProperty public int getColSpan()
@JsProperty public void setColSpan(int colSpan)
colSpan - the value indicating the number of columns this cell must span; this lets the cell occupy space across multiple columns of the table@JsProperty public String getHeight()
@JsProperty public void setHeight(String height)
height - the length of pixel of the hinted height of the cell@JsProperty public boolean isNoWrap()
@JsProperty public void setNoWrap(boolean noWrap)
noWrap - the value reflecting the nowrap attribute and indicating if cell content can be broken in several lines@JsProperty public int getRowSpan()
@JsProperty public void setRowSpan(int rowSpan)
rowSpan - the value indicating the number of rows this cell must span; this lets a cell occupy space across multiple rows of the table@JsProperty public String getVAlign()
@JsProperty public void setVAlign(String vAlign)
vAlign - the content of the cell must be vertically aligned@JsProperty public String getWidth()
@JsProperty public void setWidth(String width)
width - the number of pixels wide the cell should be drawn, if possible