Class HeaderCell
java.lang.Object
org.primefaces.selenium.component.model.datatable.Cell
org.primefaces.selenium.component.model.datatable.HeaderCell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebElementGets the filter element if it exists for this column.org.openqa.selenium.WebElementGets the title element if it exists for this column.voidsetFilterValue(String filterValue, String filterEvent, int filterDelay) Filter the column using these values.voidsetFilterValue(org.json.JSONObject cfg, String filterValue) Filter using the Widget configuration "filterDelay" and "filterEvent" values.toString()Methods inherited from class org.primefaces.selenium.component.model.datatable.Cell
getText, getWebElement, setWebElement
-
Constructor Details
-
HeaderCell
public HeaderCell(org.openqa.selenium.WebElement webElement)
-
-
Method Details
-
getColumnTitle
public org.openqa.selenium.WebElement getColumnTitle()Gets the title element if it exists for this column.- Returns:
- the WebElement representing the title
-
getColumnFilter
public org.openqa.selenium.WebElement getColumnFilter()Gets the filter element if it exists for this column.- Returns:
- the WebElement representing the filter
-
setFilterValue
Filter using the Widget configuration "filterDelay" and "filterEvent" values.- Parameters:
cfg- the widget configuration JSON objectfilterValue- the value to set the filter
-
setFilterValue
Filter the column using these values.- Parameters:
filterValue- the value to filter forfilterEvent- the event causing the filter to trigger such as "keyup" or "enter"filterDelay- the delay in milliseconds if a "keyup" filter
-
toString
-