summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/testbench/elements/GridElement.java
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2014-12-17 11:37:47 +0200
committerJohannes Dahlström <johannesd@vaadin.com>2014-12-17 13:19:54 +0200
commit4a3a97c0d07861568d336ac7f3e0ed496dc8fcbb (patch)
tree3bc05692615a7fdb8fc6184c2638619f62cc4e27 /uitest/src/com/vaadin/testbench/elements/GridElement.java
parent48904a34a20f2d501da1b6055143fd73b5b90d50 (diff)
downloadvaadin-framework-4a3a97c0d07861568d336ac7f3e0ed496dc8fcbb.tar.gz
vaadin-framework-4a3a97c0d07861568d336ac7f3e0ed496dc8fcbb.zip
Rename "active" row/cell to "focused" (#13334)
Change-Id: I7a507db8ec62b2e669cc2562cbfaf1693d394f6e
Diffstat (limited to 'uitest/src/com/vaadin/testbench/elements/GridElement.java')
-rw-r--r--uitest/src/com/vaadin/testbench/elements/GridElement.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/uitest/src/com/vaadin/testbench/elements/GridElement.java b/uitest/src/com/vaadin/testbench/elements/GridElement.java
index 07f3442510..254acbfa2a 100644
--- a/uitest/src/com/vaadin/testbench/elements/GridElement.java
+++ b/uitest/src/com/vaadin/testbench/elements/GridElement.java
@@ -35,10 +35,8 @@ public class GridElement extends AbstractComponentElement {
public static class GridCellElement extends AbstractElement {
- // TODO static final?
- // TODO rename "active" to "focused" once Valo CSS is merged
- private String FOCUSED_CELL_CLASS_NAME = "-cell-active";
- private String FROZEN_CLASS_NAME = "frozen";
+ private static final String FOCUSED_CELL_CLASS_NAME = "-cell-focused";
+ private static final String FROZEN_CLASS_NAME = "frozen";
public boolean isFocused() {
return getAttribute("class").contains(FOCUSED_CELL_CLASS_NAME);
@@ -51,10 +49,8 @@ public class GridElement extends AbstractComponentElement {
public static class GridRowElement extends AbstractElement {
- // TODO static final?
- // TODO rename "active" to "focused" once Valo CSS is merged
- private String FOCUSED_CLASS_NAME = "-row-active";
- private String SELECTED_CLASS_NAME = "-row-selected";
+ private static final String FOCUSED_CLASS_NAME = "-row-focused";
+ private static final String SELECTED_CLASS_NAME = "-row-selected";
public boolean isFocused() {
return getAttribute("class").contains(FOCUSED_CLASS_NAME);