br.com.caelum.seleniumdsl.table
Interface Table
- All Known Implementing Classes:
- DefaultTable
public interface Table
getType
java.lang.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(java.lang.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(java.lang.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,
java.lang.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(java.lang.String col,
java.lang.String content)
- Parameters:
col - the header text of the columncontent - the content to search
- Returns:
- true if the content exists
getId
java.lang.String getId()
exists
boolean exists()
iterate
void iterate(RowVisitor visitor)
findColumn
java.lang.Integer findColumn(java.lang.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.