Package com.google.gwt.dom.client
Class TableRowElement
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.TableRowElement
A row in a table.
- 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 TableRowElement
Assert that the givenElement
is compatible with this class and automatically typecast it.final void
deleteCell
(int index) Delete a cell from the current row.final String
getAlign()
Horizontal alignment of data within cells of this row.final NodeList
<TableCellElement> getCells()
The collection of cells in this row.final String
getCh()
Alignment character for cells in a column.final String
getChOff()
Offset of alignment character.final int
This is in logical order and not in document order.final int
The index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0.final String
Vertical alignment of data within cells of this row.final TableCellElement
insertCell
(int index) Insert an empty TD cell into this row.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 within cells of this row.final void
Alignment character for cells in a column.final void
Offset of alignment character.final void
Vertical alignment of data within cells of this row.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
- See Also:
-
-
Constructor Details
-
TableRowElement
protected TableRowElement()
-
-
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
. -
deleteCell
public final void deleteCell(int index) Delete a cell from the current row.- See Also:
-
getAlign
Horizontal alignment of data within cells of this row.- See Also:
-
getCells
The collection of cells in this row. -
getCh
Alignment character for cells in a column.- See Also:
-
getChOff
Offset of alignment character.- See Also:
-
getRowIndex
public final int getRowIndex()This is in logical order and not in document order. The rowIndex does take into account sections (THEAD, TFOOT, or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows. -
getSectionRowIndex
public final int getSectionRowIndex()The index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0. -
getVAlign
Vertical alignment of data within cells of this row.- See Also:
-
insertCell
Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.- See Also:
-
setAlign
Horizontal alignment of data within cells of this row.- See Also:
-
setCh
Alignment character for cells in a column.- See Also:
-
setChOff
Offset of alignment character.- See Also:
-
setVAlign
Vertical alignment of data within cells of this row.- See Also:
-