net.sourceforge.jwebunit
Class ExpectedCell

java.lang.Object
  |
  +--net.sourceforge.jwebunit.ExpectedCell

public class ExpectedCell
extends java.lang.Object

Represents an expected cell of an html table - a string value spanning an indicated amount of columns.

Author:
Jim Weaver

Constructor Summary
ExpectedCell(java.lang.String expectedValue)
          Construct an expected cell with a default colspan of 1.
ExpectedCell(java.lang.String expectedValue, int colspan)
          Construct an expected cell with a specified colspan.
 
Method Summary
 int getColspan()
          Return the colspan for this cell.
 java.lang.String getExpectedValue()
          Return the expected text for the cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpectedCell

public ExpectedCell(java.lang.String expectedValue)
Construct an expected cell with a default colspan of 1.
Parameters:
expectedValue - text expected within the cell.

ExpectedCell

public ExpectedCell(java.lang.String expectedValue,
                    int colspan)
Construct an expected cell with a specified colspan.
Parameters:
expectedValue - text expected within the cell.
colspan - number of columns the cell is expected to span.
Method Detail

getColspan

public int getColspan()
Return the colspan for this cell.

getExpectedValue

public java.lang.String getExpectedValue()
Return the expected text for the cell.


Copyright © 2002 ThoughtWorks, Inc. All Rights Reserved.