org.xwiki.gwt.dom.client
Class TableRowElement

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.dom.client.Node
          extended by com.google.gwt.dom.client.Element
              extended by com.google.gwt.dom.client.TableRowElement
                  extended by org.xwiki.gwt.dom.client.TableRowElement

public final class TableRowElement
extends com.google.gwt.dom.client.TableRowElement

Extends the implementation provided by GWT to add useful methods. All of them should be removed as soon as they make their way into GWT's API.

Version:
$Id: TableRowElement.java 20042 2009-05-16 12:12:50Z sdumitriu $

Field Summary
 
Fields inherited from class com.google.gwt.dom.client.Node
DOCUMENT_NODE, ELEMENT_NODE, TEXT_NODE
 
Constructor Summary
protected TableRowElement()
          Default constructor.
 
Method Summary
 TableCellElement getFirstCell()
           
 TableCellElement getLastCell()
           
 TableRowElement getNextRow()
           
 com.google.gwt.dom.client.TableElement getOwnerTable()
           
 TableRowElement getPreviousRow()
           
 
Methods inherited from class com.google.gwt.dom.client.TableRowElement
as, deleteCell, getAlign, getCells, getCh, getChOff, getRowIndex, getSectionRowIndex, getVAlign, insertCell, setAlign, setCh, setChOff, setVAlign
 
Methods inherited from class com.google.gwt.dom.client.Element
as, getAbsoluteLeft, getAbsoluteTop, getAttribute, getClassName, getDir, getElementsByTagName, getFirstChildElement, getId, getInnerHTML, getInnerText, getLang, getNextSiblingElement, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getParentElement, getPropertyBoolean, getPropertyDouble, getPropertyInt, getPropertyString, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getString, getStyle, getTagName, getTitle, isOrHasChild, removeAttribute, scrollIntoView, setAttribute, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setPropertyBoolean, setPropertyDouble, setPropertyInt, setPropertyString, setScrollLeft, setScrollTop, setTitle
 
Methods inherited from class com.google.gwt.dom.client.Node
appendChild, cloneNode, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, hasChildNodes, insertBefore, removeChild, replaceChild, setNodeValue
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRowElement

protected TableRowElement()
Default constructor. Needs to be protected because all instances are created from JavaScript.

Method Detail

getOwnerTable

public com.google.gwt.dom.client.TableElement getOwnerTable()
Returns:
The table containing this cell.

getNextRow

public TableRowElement getNextRow()
Returns:
The next row inside the same table. If this is the last row then it returns null.

getPreviousRow

public TableRowElement getPreviousRow()
Returns:
The previous row inside the same table. If this is the first row then it returns null.

getFirstCell

public TableCellElement getFirstCell()
Returns:
The first cell of this row.

getLastCell

public TableCellElement getLastCell()
Returns:
The last cell of this row.


Copyright © 2004-2009 XWiki. All Rights Reserved.