Package com.google.gwt.dom.client
Class TableCellElement
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.Node
com.google.gwt.dom.client.Element
com.google.gwt.dom.client.TableCellElement
-
Field Summary
FieldsFields inherited from class com.google.gwt.dom.client.Element
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUEFields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TableCellElementAssert that the givenElementis compatible with this class and automatically typecast it.final StringgetAlign()Horizontal alignment of data in cell.final intThe index of this cell in the row, starting from 0.final StringgetCh()Alignment character for cells in a column.final StringgetChOff()Offset of alignment character.final intNumber of columns spanned by cell.final StringList of id attribute values for header cells.final intNumber of rows spanned by cell.final StringVertical alignment of data in cell.static booleanDetermines whether the givenJavaScriptObjectcan be cast to this class.static booleanDetermine whether the givenElementcan be cast to this class.static booleanDetermine whether the givenNodecan be cast to this class.final voidHorizontal alignment of data in cell.final voidAlignment character for cells in a column.final voidOffset of alignment character.final voidsetColSpan(int colSpan) Number of columns spanned by cell.final voidsetHeaders(String headers) List of id attribute values for header cells.final voidsetRowSpan(int rowSpan) Number of rows spanned by cell.final voidVertical alignment of data in cell.Methods inherited from class com.google.gwt.dom.client.Element
addClassName, as, as, blur, dispatchEvent, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getAttribute, getClassName, getClientHeight, getClientWidth, getDir, getDraggable, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getPreviousSiblingElement, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyJSO, getPropertyObject, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTabIndex, getTagName, getTitle, hasAttribute, hasClassName, hasTagName, indexOfName, removeAttribute, removeClassName, replaceClassName, scrollIntoView, setAttribute, setClassName, setDir, setDraggable, setId, setInnerHTML, setInnerSafeHtml, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyJSO, setPropertyObject, setPropertyString, setScrollLeft, setScrollTop, setTabIndex, setTitle, toggleClassNameMethods inherited from class com.google.gwt.dom.client.Node
appendChild, cloneNode, getChild, getChildCount, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, hasChildNodes, hasParentElement, insertAfter, insertBefore, insertFirst, isOrHasChild, removeAllChildren, removeChild, removeFromParent, replaceChild, setNodeValueMethods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Field Details
-
TAG_TD
- See Also:
-
TAG_TH
- See Also:
-
-
Constructor Details
-
TableCellElement
protected TableCellElement()
-
-
Method Details
-
as
Assert that the givenElementis compatible with this class and automatically typecast it. -
is
Determines whether the givenJavaScriptObjectcan be cast to this class. Anullobject will cause this method to returnfalse. -
is
-
is
-
getAlign
-
getCellIndex
public final int getCellIndex()The index of this cell in the row, starting from 0. This index is in document tree order and not display order. -
getCh
-
getChOff
-
getColSpan
public final int getColSpan()Number of columns spanned by cell.- See Also:
-
getHeaders
-
getRowSpan
public final int getRowSpan()Number of rows spanned by cell.- See Also:
-
getVAlign
-
setAlign
-
setCh
-
setChOff
-
setColSpan
public final void setColSpan(int colSpan) Number of columns spanned by cell.- See Also:
-
setHeaders
List of id attribute values for header cells.- See Also:
-
setRowSpan
public final void setRowSpan(int rowSpan) Number of rows spanned by cell.- See Also:
-
setVAlign
-