com.atlassian.jira.webtests.table
Class TextCell

java.lang.Object
  extended by com.atlassian.jira.webtests.table.AbstractSimpleCell
      extended by com.atlassian.jira.webtests.table.TextCell
All Implemented Interfaces:
SimpleCell

public class TextCell
extends AbstractSimpleCell

Checks if the cell has each string in the texts array using indexOf.


Constructor Summary
TextCell(String text)
           
TextCell(String[] texts)
           
TextCell(String text1, String text2)
           
 
Method Summary
 boolean equals(com.meterware.httpunit.WebTable table, int row, int col)
          Checks if the cell table[row][col] is equal to this cell
 String toString()
           
 
Methods inherited from class com.atlassian.jira.webtests.table.AbstractSimpleCell
getCellAsText, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextCell

public TextCell(String text)

TextCell

public TextCell(String text1,
                String text2)

TextCell

public TextCell(String[] texts)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(com.meterware.httpunit.WebTable table,
                      int row,
                      int col)
Description copied from interface: SimpleCell
Checks if the cell table[row][col] is equal to this cell

Parameters:
table - table
row - row index (starting from 0)
col - col index (starting from 0)
Returns:
true if the referenced cell is equal to this cell, false otherwise


Copyright © 2002-2014 Atlassian. All Rights Reserved.