public class LspsTableColumn extends UIComponent
Modifier and Type | Field and Description |
---|---|
int |
index
The index of the column, 0-based.
|
LspsUITable |
table
Owner table, not null.
|
driver, seleniumElement
Constructor and Description |
---|
LspsTableColumn(WebElement element,
int index,
LspsUITable table,
WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
void |
click()
Clicks the table header.
|
String |
getCaptionText()
Returns the column caption.
|
UIComponent |
getCell(int row)
Returns the cell component for this column, for given row.
|
boolean |
isSorted()
Checks if the table is sorted by this column, either ascendant or descendant.
|
boolean |
isSortedAsc()
Returns true if the table is currently sorted by this column, ascendant.
|
boolean |
isSortedDesc()
Returns true if the table is currently sorted by this column, descendant.
|
String |
toString() |
as, click, doubleClick, extractedSeleniumIfTestBench, extractedSeleniumIfTestBench, focus, getAttribute, getCaption, getClassNames, getErrorMessage, getHint, getId, getModelingId, getText, hasClassName, isEnabled, isValid, isVisible, rightClick, scrollIntoView, sleep, toHTML, toInnerHTML, webElementsByLspsId
$, actions, clickButton, contains, createIdLocator, findAllByAttributeValue, findAllByClassname, findAllByFormId, findAllById, findAllByIdPrefix, findAllByLspsId, findAllByTextContent, findAllByXpath, findByAttributeValue, findByClassname, findByFormId, findById, findByIdPrefix, findByLspsId, findByTextContent, findByXpath, findCaptionByTextContent, findElement, findElements, findNthByTag, getDriver, getLspsCommandExecutor, waitForVaadin, webElementsByExactTextContent, webElementsByFormId, webElementsById, webElementsByIdPrefix, webElementsByLspsFormId, webElementsByTextContent, webElementsByXpath
public final LspsUITable table
public final int index
public LspsTableColumn(WebElement element, int index, LspsUITable table, WebDriver driver)
public String getCaptionText()
public String toString()
toString
in class UIComponent
public boolean isSortedAsc()
public boolean isSortedDesc()
public boolean isSorted()
public UIComponent getCell(int row)
row
- the 0-based row index.org.openqa.selenium.NoSuchElementException
- if either row or col is out of bounds (the table does not contain such cell).public void click()
click
in class UIComponent
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.