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
The object used to represent the TH and TD elements.
- See Also:
-
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
Determine whether the givenNodecan be cast to this class. Anullnode will cause this method to returnfalse. -
is
Determine whether the givenElementcan be cast to this class. Anullnode will cause this method to returnfalse. -
getAlign
Horizontal alignment of data in cell.- See Also:
-
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
Alignment character for cells in a column.- See Also:
-
getChOff
Offset of alignment character.- See Also:
-
getColSpan
public final int getColSpan()Number of columns spanned by cell.- See Also:
-
getHeaders
List of id attribute values for header cells.- See Also:
-
getRowSpan
public final int getRowSpan()Number of rows spanned by cell.- See Also:
-
getVAlign
Vertical alignment of data in cell.- See Also:
-
setAlign
Horizontal alignment of data in cell.- See Also:
-
setCh
Alignment character for cells in a column.- See Also:
-
setChOff
Offset of alignment character.- See Also:
-
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
Vertical alignment of data in cell.- See Also:
-