com.meterware.httpunit
Class TableCell

java.lang.Object
  extended bycom.meterware.httpunit.ParsedHTML
      extended bycom.meterware.httpunit.BlockElement
          extended bycom.meterware.httpunit.TableCell
All Implemented Interfaces:
HTMLElement, HTMLSegment, ScriptingEventHandler

public class TableCell
extends BlockElement

A single cell in an HTML table.


Method Summary
 java.lang.String asText()
          Deprecated. as of 1.6, use #getText()
 int getColSpan()
          Returns the number of columns spanned by this cell.
 int getRowSpan()
          Returns the number of rows spanned by this cell.
 
Methods inherited from class com.meterware.httpunit.BlockElement
doEvent, doEventScript, equals, getAttribute, getAttributeValue, getClassName, getDOM, getID, getName, getNode, getParentDelegate, getScriptingHandler, getTagName, getText, getTitle, handleEvent, hashCode, isSupportedAttribute, newScriptable, removeAttribute, setAttribute
 
Methods inherited from class com.meterware.httpunit.ParsedHTML
getApplets, getElementNames, getElementsWithAttribute, getElementsWithName, getElementWithID, getFirstMatchingForm, getFirstMatchingLink, getFirstMatchingTable, getFirstMatchingTextBlock, getForms, getFormWithID, getFormWithName, getFrames, getImages, getImageWithAltText, getImageWithName, getImageWithSource, getLinks, getLinkWith, getLinkWithID, getLinkWithImageText, getLinkWithName, getMatchingForms, getMatchingLinks, getMatchingTables, getNextTextBlock, getTables, getTableStartingWith, getTableStartingWithPrefix, getTableWithID, getTableWithSummary, getTextBlocks, isWebLink, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.meterware.httpunit.HTMLSegment
getApplets, getElementNames, getElementsWithAttribute, getElementsWithName, getElementWithID, getFirstMatchingForm, getFirstMatchingLink, getFirstMatchingTable, getForms, getFormWithID, getFormWithName, getImages, getImageWithAltText, getImageWithName, getImageWithSource, getLinks, getLinkWith, getLinkWithImageText, getMatchingForms, getMatchingLinks, getMatchingTables, getTables, getTableStartingWith, getTableStartingWithPrefix, getTableWithID, getTableWithSummary, getTextBlocks
 

Method Detail

getColSpan

public int getColSpan()
Returns the number of columns spanned by this cell.


getRowSpan

public int getRowSpan()
Returns the number of rows spanned by this cell.


asText

public java.lang.String asText()
Deprecated. as of 1.6, use #getText()

Returns the text value of this cell.


Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.