br.com.caelum.seleniumdsl.table
Class DefaultCell
java.lang.Object
br.com.caelum.seleniumdsl.table.DefaultCell
- All Implemented Interfaces:
- Cell
public class DefaultCell
- extends Object
- implements Cell
|
Constructor Summary |
DefaultCell(com.thoughtworks.selenium.Selenium selenium,
Table table,
int row,
int col)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCell
public DefaultCell(com.thoughtworks.selenium.Selenium selenium,
Table table,
int row,
int col)
value
public String value()
- Specified by:
value in interface Cell
- Returns:
- the text of the cell or null if the cell is not found
getLink
public String getLink()
- Specified by:
getLink in interface Cell
- Returns:
- the text of the link contained on this cell or null if the cell is not found
headerValue
public String headerValue()
- Specified by:
headerValue in interface Cell
headerLinkValue
public String headerLinkValue()
- Specified by:
headerLinkValue in interface Cell
check
public Cell check()
- Description copied from interface:
Cell
- Checks a possible checkbox contained on this cell
- Specified by:
check in interface Cell
- Returns:
- The Cell
uncheck
public Cell uncheck()
- Description copied from interface:
Cell
- Unchecks a possible checkbox contained on this cell
- Specified by:
uncheck in interface Cell
- Returns:
- The Cell
checked
public boolean checked()
- Specified by:
checked in interface Cell
- Returns:
- if the checkbox contained on this cell is checked
contains
public boolean contains(String content)
- Specified by:
contains in interface Cell
- Parameters:
content - the content to search
- Returns:
- if the cell's text contains the parameter
Copyright © 2008. All Rights Reserved.