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
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 TableRowElementAssert that the givenElementis compatible with this class and automatically typecast it.final voiddeleteCell(int index) Delete a cell from the current row.final StringgetAlign()Horizontal alignment of data within cells of this row.final NodeList<TableCellElement>getCells()The collection of cells in this row.final StringgetCh()Alignment character for cells in a column.final StringgetChOff()Offset of alignment character.final intThis is in logical order and not in document order.final intThe index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0.final StringVertical alignment of data within cells of this row.final TableCellElementinsertCell(int index) Insert an empty TD cell into this row.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 within cells of this row.final voidAlignment character for cells in a column.final voidOffset of alignment character.final voidVertical 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, 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
- See Also:
-
-
Constructor Details
-
TableRowElement
protected TableRowElement()
-
-
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. -
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:
-