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
Fields inherited from class com.google.gwt.dom.client.Element
DRAGGABLE_AUTO, DRAGGABLE_FALSE, DRAGGABLE_TRUE
Fields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TableCellElement
Assert that the givenElement
is compatible with this class and automatically typecast it.final String
getAlign()
Horizontal alignment of data in cell.final int
The index of this cell in the row, starting from 0.final String
getCh()
Alignment character for cells in a column.final String
getChOff()
Offset of alignment character.final int
Number of columns spanned by cell.final String
List of id attribute values for header cells.final int
Number of rows spanned by cell.final String
Vertical alignment of data in cell.static boolean
Determines whether the givenJavaScriptObject
can be cast to this class.static boolean
Determine whether the givenElement
can be cast to this class.static boolean
Determine whether the givenNode
can be cast to this class.final void
Horizontal alignment of data in cell.final void
Alignment character for cells in a column.final void
Offset of alignment character.final void
setColSpan
(int colSpan) Number of columns spanned by cell.final void
setHeaders
(String headers) List of id attribute values for header cells.final void
setRowSpan
(int rowSpan) Number of rows spanned by cell.final void
Vertical 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, toggleClassName
Methods 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, setNodeValue
Methods 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 givenElement
is compatible with this class and automatically typecast it. -
is
Determines whether the givenJavaScriptObject
can be cast to this class. Anull
object will cause this method to returnfalse
. -
is
Determine whether the givenNode
can be cast to this class. Anull
node will cause this method to returnfalse
. -
is
Determine whether the givenElement
can be cast to this class. Anull
node 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:
-