Class HeaderCell


  • public class HeaderCell
    extends Cell
    • Constructor Detail

      • HeaderCell

        public HeaderCell​(org.openqa.selenium.WebElement webElement)
    • Method Detail

      • 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