com.atlassian.jira.webtests.table
Class AndCell
java.lang.Object
com.atlassian.jira.webtests.table.AbstractSimpleCell
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()
|
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)
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 lookuprow
- row index of tablecol
- 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 comparerow
- row index of tablecol
- col index of table
- Returns:
- true if ALL the simpleCells evaluate true for the given table cell
Copyright © 2002-2013 Atlassian. All Rights Reserved.