br.com.caelum.seleniumdsl.table
Class DefaultColumn
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultColumn
public DefaultColumn(Table table,
com.thoughtworks.selenium.Selenium selenium,
int columnNumber)
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.