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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
(package private) static final String[]
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 TableSectionElement
Assert that the givenElement
is compatible with this class and automatically typecast it.final void
deleteRow
(int index) Delete a row from this section.final String
getAlign()
Horizontal alignment of data in cells.final String
getCh()
Alignment character for cells in a column.final String
getChOff()
Offset of alignment character.final NodeList<TableRowElement>
getRows()
The collection of rows in this table section.final String
Vertical alignment of data in cells.final TableRowElement
insertRow
(int index) Insert a row into this section.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 cells.final void
Alignment character for cells in a column.final void
Offset of alignment character.final void
Vertical 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, 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
-
TAGS
-
TAG_TBODY
- See Also:
-
TAG_TFOOT
- See Also:
-
TAG_THEAD
- See Also:
-
-
Constructor Details
-
TableSectionElement
protected TableSectionElement()
-
-
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
. -
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.
-