com.atlassian.jira.webtests.table
Class AbstractSimpleCell

java.lang.Object
  extended by com.atlassian.jira.webtests.table.AbstractSimpleCell
All Implemented Interfaces:
SimpleCell
Direct Known Subclasses:
AndCell, EmptyCell, ImageCell, LinkCell, NotCell, OrCell, StrictTextCell, TextCell

public abstract class AbstractSimpleCell
extends Object
implements SimpleCell

Convinience abstract class for SimpleCell

Since:
v3.12

Constructor Summary
AbstractSimpleCell()
           
 
Method Summary
 String getCellAsText(com.meterware.httpunit.WebTable table, int row, int col)
          WebTable.getCellAsText(int, int) returns the text of the cell only.
 void log(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtests.table.SimpleCell
equals
 

Constructor Detail

AbstractSimpleCell

public AbstractSimpleCell()
Method Detail

getCellAsText

public String getCellAsText(com.meterware.httpunit.WebTable table,
                            int row,
                            int col)
Description copied from interface: SimpleCell
WebTable.getCellAsText(int, int) returns the text of the cell only. Using this in log statements is often useless because it does not give interesting information. Eg. ImageCell will return the cells information about the image rather than the text.

Specified by:
getCellAsText in interface SimpleCell
Parameters:
table - table
row - row index (starting from 0)
col - col index (starting from 0)
Returns:
String representing the WebTable cell that is interesting to this SimpleCell

log

public void log(String msg)


Copyright © 2002-2012 Atlassian. All Rights Reserved.