View Javadoc

1   package br.com.caelum.seleniumdsl.table;
2   
3   public interface Column {
4   
5   	/**
6   	 * Searches the value among all the cells of this column.
7   	 * 
8   	 * @param text
9   	 *            the text to search
10  	 * @return if any cell contains the text
11  	 */
12  	public boolean contains(String text);
13  
14  	public boolean containsPartial(String value);
15  
16  	/**
17  	 * Same as contains but returns the index.
18  	 * 
19  	 * @param text
20  	 *            the text to search
21  	 * @return the row index of the cell or -1 if not found
22  	 */
23  	public int find(String text);
24  
25  }