summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/main/java/com/vaadin/client/widget/treegrid/TreeGrid.java5
-rwxr-xr-xclient/src/main/java/com/vaadin/client/widgets/Grid.java8
2 files changed, 2 insertions, 11 deletions
diff --git a/client/src/main/java/com/vaadin/client/widget/treegrid/TreeGrid.java b/client/src/main/java/com/vaadin/client/widget/treegrid/TreeGrid.java
index 86c7f7c53e..fb66bebb7d 100644
--- a/client/src/main/java/com/vaadin/client/widget/treegrid/TreeGrid.java
+++ b/client/src/main/java/com/vaadin/client/widget/treegrid/TreeGrid.java
@@ -54,9 +54,4 @@ public class TreeGrid extends Grid<JsonObject> {
public HandlerRegistration addBodyClickHandler(BodyClickHandler handler) {
return addHandler(handler, TreeGridClickEvent.TYPE);
}
-
- @Override
- protected String getFocusPrimaryStyleName() {
- return getStylePrimaryName() + "-rowmode";
- }
}
diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java
index f94c45f780..fb59329883 100755
--- a/client/src/main/java/com/vaadin/client/widgets/Grid.java
+++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java
@@ -6217,8 +6217,8 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
rowSelectedStyleName = rowStyle + "-selected";
rowStripeStyleName = rowStyle + "-stripe";
- cellFocusStyleName = getFocusPrimaryStyleName() + "-cell-focused";
- rowFocusStyleName = getFocusPrimaryStyleName() + "-row-focused";
+ cellFocusStyleName = getStylePrimaryName() + "-cell-focused";
+ rowFocusStyleName = getStylePrimaryName() + "-row-focused";
if (isAttached()) {
refreshHeader();
@@ -6227,10 +6227,6 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>,
}
}
- protected String getFocusPrimaryStyleName() {
- return getStylePrimaryName();
- }
-
/**
* Creates the escalator updater used to update the header rows in this
* grid. The updater is invoked when header rows or columns are added or