Package com.google.gwt.dom.client
Class TableSectionElement
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.TableSectionElement
The THEAD, TFOOT, and TBODY elements.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final String(package private) static final String[]Fields 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 TableSectionElementAssert that the givenElementis compatible with this class and automatically typecast it.final voiddeleteRow(int index) Delete a row from this section.final StringgetAlign()Horizontal alignment of data in cells.final StringgetCh()Alignment character for cells in a column.final StringgetChOff()Offset of alignment character.final NodeList<TableRowElement>getRows()The collection of rows in this table section.final StringVertical alignment of data in cells.final TableRowElementinsertRow(int index) Insert a row into this section.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 cells.final voidAlignment character for cells in a column.final voidOffset of alignment character.final voidVertical alignment of data in cells.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
-
TAGS
-
TAG_TBODY
- See Also:
-
TAG_TFOOT
- See Also:
-
TAG_THEAD
- See Also:
-
-
Constructor Details
-
TableSectionElement
protected TableSectionElement()
-
-
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. -
deleteRow
public final void deleteRow(int index) Delete a row from this section.- Parameters:
index- The index of the row to be deleted, or -1 to delete the last row. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.
-
getAlign
Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement for details. -
getCh
Alignment character for cells in a column.- See Also:
-
getChOff
Offset of alignment character.- See Also:
-
getRows
The collection of rows in this table section. -
getVAlign
Vertical alignment of data in cells. See the valign attribute for HTMLTheadElement for details. -
insertRow
Insert a row into this section. The new row is inserted immediately before the current indexth row in this section. If index is -1 or equal to the number of rows in this section, the new row is appended.- Parameters:
index- The row number where to insert a new row. This index starts from 0 and is relative only to the rows contained inside this section, not all the rows in the table.- Returns:
- The newly created row.
-
setAlign
Horizontal alignment of data in cells. See the align attribute for HTMLTheadElement for details. -
setCh
Alignment character for cells in a column.- See Also:
-
setChOff
Offset of alignment character.- See Also:
-
setVAlign
Vertical alignment of data in cells. See the valign attribute for HTMLTheadElement for details.
-