aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-client/src
diff options
context:
space:
mode:
authorOlli Tietäväinen <ollit@vaadin.com>2018-11-13 15:17:56 +0200
committerSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-12-04 10:34:50 +0200
commite627b465872fa51df470f304447c651aaf0e7477 (patch)
tree9f6b9224f8585bb12c944198b70aa3f8bbe0109c /compatibility-client/src
parent8313623dd318c92aa49e9cf96268f5fff6ad6456 (diff)
downloadvaadin-framework-e627b465872fa51df470f304447c651aaf0e7477.tar.gz
vaadin-framework-e627b465872fa51df470f304447c651aaf0e7477.zip
pick remaining changes from https://github.com/vaadin/framework/pull/10453
Diffstat (limited to 'compatibility-client/src')
-rwxr-xr-x[-rw-r--r--]compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
index e50682f2c1..3aafe416fc 100644..100755
--- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
+++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java
@@ -88,6 +88,7 @@ import com.vaadin.v7.client.widget.escalator.ScrollbarBundle.VerticalScrollbarBu
import com.vaadin.v7.client.widget.escalator.Spacer;
import com.vaadin.v7.client.widget.escalator.SpacerUpdater;
import com.vaadin.v7.client.widget.escalator.events.RowHeightChangedEvent;
+import com.vaadin.v7.client.widget.escalator.events.SpacerVisibilityChangedEvent;
import com.vaadin.v7.client.widget.grid.events.ScrollEvent;
import com.vaadin.v7.client.widget.grid.events.ScrollHandler;
import com.vaadin.v7.client.widgets.Escalator.JsniUtil.TouchHandlerBundle;
@@ -4770,11 +4771,15 @@ public class Escalator extends Widget
public void show() {
getRootElement().getStyle().clearDisplay();
getDecoElement().getStyle().clearDisplay();
+ Escalator.this.fireEvent(
+ new SpacerVisibilityChangedEvent(getRow(), true));
}
public void hide() {
getRootElement().getStyle().setDisplay(Display.NONE);
getDecoElement().getStyle().setDisplay(Display.NONE);
+ Escalator.this.fireEvent(
+ new SpacerVisibilityChangedEvent(getRow(), false));
}
/**