-/*
+/*
@ITMillApache2LicenseForJavaFiles@
*/
import com.vaadin.terminal.gwt.client.BrowserInfo;
import com.vaadin.terminal.gwt.client.EventHelper;
import com.vaadin.terminal.gwt.client.EventId;
+import com.vaadin.terminal.gwt.client.MouseEventDetails;
import com.vaadin.terminal.gwt.client.Paintable;
import com.vaadin.terminal.gwt.client.UIDL;
import com.vaadin.terminal.gwt.client.Util;
VNativeButton.this.setFocus(true);
}
+ // Add mouse details
+ MouseEventDetails details = new MouseEventDetails(
+ event.getNativeEvent(), getElement());
+ client.updateVariable(id, "mousedetails", details.serialize(), false);
+
client.updateVariable(id, "state", true, true);
clickPending = false;
}