public class

MouseWheelVelocity

extends Object
java.lang.Object
   ↳ com.google.gwt.user.client.ui.MouseWheelVelocity

This class is deprecated.
use getDeltaY() instead

Class Overview

Encapsulates the direction and velocity of mouse wheel events. Not all combinations of browser and user input devices can generate all combinations of direction or range of velocity information.

Summary

Fields
protected final int vY Stores the Y-axis velocity.
Public Constructors
MouseWheelVelocity(Event e)
Construct the higher-level view of the original ONMOUSEWHEEL Event.
Public Methods
boolean equals(Object o)
int getDeltaY()
This method is deprecated. use getDeltaY() instead
int hashCode()
boolean isNorth()
This method is deprecated. use isNorth() instead
boolean isSouth()
This method is deprecated. use isSouth() instead
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final int vY

Stores the Y-axis velocity.

Public Constructors

public MouseWheelVelocity (Event e)

Construct the higher-level view of the original ONMOUSEWHEEL Event.

Parameters
e the event

Public Methods

public boolean equals (Object o)

public int getDeltaY ()

This method is deprecated.
use getDeltaY() instead

Returns the change in the mouse wheel position along the Y-axis; positive if the mouse wheel is moving north (toward the top of the screen) or negative if the mouse wheel is moving south (toward the bottom of the screen).

public int hashCode ()

public boolean isNorth ()

This method is deprecated.
use isNorth() instead

Convenience method that returns true if getDeltaY() is a negative value.

Returns
  • true if the velocity includes a component directed toword the top of the screen

public boolean isSouth ()

This method is deprecated.
use isSouth() instead

Convenience method that returns true if getDeltaY() is a positive value.

Returns
  • true if the velocity includes a component directed toword the bottom of the screen

public String toString ()