br.com.caelum.seleniumdsl.table
Class DefaultColumn

java.lang.Object
  extended by br.com.caelum.seleniumdsl.table.DefaultColumn
All Implemented Interfaces:
Column

public class DefaultColumn
extends Object
implements Column


Constructor Summary
DefaultColumn(Table table, com.thoughtworks.selenium.Selenium selenium, int columnNumber)
           
 
Method Summary
 boolean contains(String value)
          Searches the value among all the cells of this column.
 boolean containsPartial(String value)
           
 int find(String value)
          Same as contains but returns the index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultColumn

public DefaultColumn(Table table,
                     com.thoughtworks.selenium.Selenium selenium,
                     int columnNumber)
Method Detail

contains

public boolean contains(String value)
Description copied from interface: Column
Searches the value among all the cells of this column.

Specified by:
contains in interface Column
Parameters:
value - the text to search
Returns:
if any cell contains the text

find

public int find(String value)
Description copied from interface: Column
Same as contains but returns the index.

Specified by:
find in interface Column
Parameters:
value - the text to search
Returns:
the row index of the cell or -1 if not found

containsPartial

public boolean containsPartial(String value)
Specified by:
containsPartial in interface Column


Copyright © 2008. All Rights Reserved.