br.com.caelum.seleniumdsl.table
Interface Table
- All Known Implementing Classes:
- DefaultTable
public interface Table
getType
String getType()
column
Column column(int columnIndex)
- Parameters:
columnIndex - the index of the column.
- Returns:
- the br.com.caelum.seleniumdsl.table.Column object
column
Column column(String columnName)
- Parameters:
columnName - the label of the column.
- Returns:
- the br.com.caelum.seleniumdsl.Column object
getColCount
int getColCount()
getRowCount
int getRowCount()
getContentCount
int getContentCount()
- Returns:
- the number of rows of the contents, ignoring header and footer (if one is found)
header
Row header()
- Returns:
- the header br.com.caelum.seleniumdsl.table.Row object
row
Row row(Integer row)
- Parameters:
row - Only counts the CONTENTS of the table. So index 1 is the first data row of the table, ignoring the header.
- Returns:
- the br.com.caelum.seleniumdsl.table.Row object
cell
Cell cell(int row,
int col)
- Parameters:
row - Only counts the CONTENTS of the table. So index 1 is the first data row of the table, ignoring the header.
- Returns:
- the Cell object
cell
Cell cell(int row,
String col)
- Parameters:
row - Only counts the CONTENTS of the table. So index 1 is the first data row of the table, ignoring the header.
- Returns:
- the Cell object
contains
boolean contains(String col,
String content)
- Parameters:
col - the header text of the columncontent - the content to search
- Returns:
- true if the content exists
getId
String getId()
exists
boolean exists()
iterate
void iterate(RowVisitor visitor)
findColumn
Integer findColumn(String columnName)
- Parameters:
columnName - the header label of the column
- Returns:
- the column index
select
RowMatcher select(RowMatcher matcher)
createCriteria
TableCriteria createCriteria()
getLayout
TableLayout getLayout()
Copyright © 2008. All Rights Reserved.