List of usage examples for com.google.gwt.user.client.ui MouseWheelVelocity isSouth
@Deprecated public boolean isSouth()
true
if #getDeltaY() is a positive value. From source file:com.apress.progwt.client.college.gui.ViewPanel.java
License:Apache License
public void onMouseWheel(Widget sender, MouseWheelVelocity velocity) { if (velocity.isSouth()) { zoomOut();// ww w. jav a2 s .c om } else { centerOnMouse(); zoomIn(); } }