diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-23 14:35:52 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-03-23 14:35:52 +0000 |
commit | e55455a35feacfebe27fd2e71814e13b03ef9c29 (patch) | |
tree | ce33c19704061d576e4616a120c56280e00a8c8c | |
parent | 6cd1674189add945bc30d0b10eff9dada5b737cd (diff) | |
download | vaadin-framework-e55455a35feacfebe27fd2e71814e13b03ef9c29.tar.gz vaadin-framework-e55455a35feacfebe27fd2e71814e13b03ef9c29.zip |
new style name for whole table when drag is over it
svn changeset:12045/svn branch:6.3
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 4a4164004c..5fd44c1d52 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -32,6 +32,7 @@ import com.google.gwt.user.client.ui.FlowPanel; import com.google.gwt.user.client.ui.Panel; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.ScrollPanel; +import com.google.gwt.user.client.ui.UIObject; import com.google.gwt.user.client.ui.Widget; import com.vaadin.terminal.gwt.client.ApplicationConnection; import com.vaadin.terminal.gwt.client.BrowserInfo; @@ -3263,6 +3264,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, } private void deEmphasis() { + UIObject.setStyleName(getElement(), CLASSNAME + "-drag", false); if (lastEmphasized == null) { return; } @@ -3303,6 +3305,7 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler, return; } } + UIObject.setStyleName(getElement(), CLASSNAME + "-drag", true); } @Override |