List of usage examples for com.google.gwt.dom.client BrowserEvents MOUSEWHEEL
String MOUSEWHEEL
To view the source code for com.google.gwt.dom.client BrowserEvents MOUSEWHEEL.
Click Source Link
From source file:gwt.material.design.client.MaterialWidgetTestCase.java
License:Apache License
public void fireMouseWheelEvent(HasHandlers widget) { DomEvent.fireNativeEvent(Document.get().createHtmlEvent(BrowserEvents.MOUSEWHEEL, false, false), widget); }
From source file:org.kie.workbench.common.dmn.client.widgets.grid.controls.container.CellEditorControlsViewImpl.java
License:Apache License
@PostConstruct public void setup() { this.cellEditorControls.setId(DOM.createUniqueId()); RootPanel.get().add(ElementWrapperWidget.getWidget(getElement())); this.body.addEventListener(BrowserEvents.MOUSEDOWN, hidePopoverHandler, false); this.body.addEventListener(BrowserEvents.MOUSEWHEEL, hidePopoverHandler, false); }
From source file:org.kie.workbench.common.dmn.client.widgets.grid.controls.container.CellEditorControlsViewImpl.java
License:Apache License
@PreDestroy public void destroy() { this.body.removeEventListener(BrowserEvents.MOUSEDOWN, hidePopoverHandler, false); this.body.removeEventListener(BrowserEvents.MOUSEWHEEL, hidePopoverHandler, false); }