diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2017-05-08 13:40:02 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-05-08 14:47:22 +0300 |
commit | 87e7887bc02f1e4c7cddbb981d3b042d83e7c41e (patch) | |
tree | 76b8ab9b34e4ccbb9f4e81c75e225e10c607bd85 /testbench-api/src/main/java/com/vaadin | |
parent | a9fdc693a081c42018b7808b077c4b19337659fa (diff) | |
download | vaadin-framework-87e7887bc02f1e4c7cddbb981d3b042d83e7c41e.tar.gz vaadin-framework-87e7887bc02f1e4c7cddbb981d3b042d83e7c41e.zip |
Add since tags for 8.0.6
Diffstat (limited to 'testbench-api/src/main/java/com/vaadin')
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java | 7 | ||||
-rw-r--r-- | testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java index 945678ac2d..5371d81273 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java @@ -444,6 +444,13 @@ public class GridElement extends AbstractComponentElement { return getSubPart("#details[" + rowIndex + "]"); } + /** + * Toggles the column visibility. Column is identified by its hiding toggle + * caption. + * + * @param toggleCaption + * @since 8.0.6 + */ public void toggleColumnHidden(String toggleCaption) { if (!isElementPresent(By.className("v-grid-sidebar-content"))) { // Open sidebar menu diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java index 4f3106356a..395f6d1af9 100644 --- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java +++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java @@ -25,7 +25,8 @@ public class GridLayoutElement extends AbstractLayoutElement { /** * Gets the total number of rows in the layout. * - * @return the number of rows in the layout, + * @return the number of rows in the layout + * @since 8.0.6 */ public long getRowCount() { Long res = (Long) getCommandExecutor() @@ -40,7 +41,8 @@ public class GridLayoutElement extends AbstractLayoutElement { /** * Gets the total number of columns in the layout. * - * @return the number of columns in the layout, + * @return the number of columns in the layout + * @since 8.0.6 */ public long getColumnCount() { Long res = (Long) getCommandExecutor() @@ -62,6 +64,7 @@ public class GridLayoutElement extends AbstractLayoutElement { * @return the cell element at the given position * @throws NoSuchElementException * if no cell was found at the given position + * @since 8.0.6 */ public WebElement getCell(int row, int column) { WebElement res = (WebElement) getCommandExecutor().executeScript( |