com.atlassian.jira.webtests.table
Class AndCell

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

public class AndCell
extends AbstractSimpleCell

A composite SimpleCell that AND's all the simple cells together.

Since:
v3.12

Constructor Summary
AndCell(Collection simpleCells)
           
AndCell(SimpleCell cell1, SimpleCell cell2)
           
AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3)
           
AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4)
           
AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5)
           
AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5, SimpleCell cell6)
           
 
Method Summary
 boolean equals(com.meterware.httpunit.WebTable table, int row, int col)
          AND's all the simple cells together for the specified table cell
 String getCellAsText(com.meterware.httpunit.WebTable table, int row, int col)
          Need to find which SimpleCell to get the cell as text from, since there could be a mix of different SimpleCell types which want to display different information about the WebTable cell.
 String toString()
           
 
Methods inherited from class com.atlassian.jira.webtests.table.AbstractSimpleCell
log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AndCell

public AndCell(Collection simpleCells)

AndCell

public AndCell(SimpleCell cell1,
               SimpleCell cell2)

AndCell

public AndCell(SimpleCell cell1,
               SimpleCell cell2,
               SimpleCell cell3)

AndCell

public AndCell(SimpleCell cell1,
               SimpleCell cell2,
               SimpleCell cell3,
               SimpleCell cell4)

AndCell

public AndCell(SimpleCell cell1,
               SimpleCell cell2,
               SimpleCell cell3,
               SimpleCell cell4,
               SimpleCell cell5)

AndCell

public AndCell(SimpleCell cell1,
               SimpleCell cell2,
               SimpleCell cell3,
               SimpleCell cell4,
               SimpleCell cell5,
               SimpleCell cell6)
Method Detail

getCellAsText

public String getCellAsText(com.meterware.httpunit.WebTable table,
                            int row,
                            int col)
Need to find which SimpleCell to get the cell as text from, since there could be a mix of different SimpleCell types which want to display different information about the WebTable cell.

Specified by:
getCellAsText in interface SimpleCell
Overrides:
getCellAsText in class AbstractSimpleCell
Parameters:
table - table to lookup
row - row index of table
col - col index of table
Returns:
interesting information about the cell for the cell that is not equal to this cell.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(com.meterware.httpunit.WebTable table,
                      int row,
                      int col)
AND's all the simple cells together for the specified table cell

Parameters:
table - table to compare
row - row index of table
col - col index of table
Returns:
true if ALL the simpleCells evaluate true for the given table cell


Copyright © 2002-2014 Atlassian. All Rights Reserved.