java.lang.Object
org.primefaces.selenium.component.model.datatable.Cell
org.primefaces.selenium.component.model.datatable.HeaderCell

public class HeaderCell extends Cell
  • 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

      public void setFilterValue(org.json.JSONObject cfg, String filterValue)
      Filter using the Widget configuration "filterDelay" and "filterEvent" values.
      Parameters:
      cfg - the widget configuration JSON object
      filterValue - the value to set the filter
    • setFilterValue

      public void setFilterValue(String filterValue, String filterEvent, int filterDelay)
      Filter the column using these values.
      Parameters:
      filterValue - the value to filter for
      filterEvent - the event causing the filter to trigger such as "keyup" or "enter"
      filterDelay - the delay in milliseconds if a "keyup" filter
    • toString

      public String toString()
      Overrides:
      toString in class Object