Package com.google.gwt.user.client.ui
Class MouseWheelVelocity
java.lang.Object
com.google.gwt.user.client.ui.MouseWheelVelocity
Deprecated.
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.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Construct the higher-level view of the original ONMOUSEWHEEL Event. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.int
Deprecated.useMouseWheelEvent.getDeltaY()
insteadint
hashCode()
Deprecated.boolean
isNorth()
Deprecated.useMouseWheelEvent.isNorth()
insteadboolean
isSouth()
Deprecated.useMouseWheelEvent.isSouth()
insteadtoString()
Deprecated.
-
Field Details
-
vY
protected final int vYDeprecated.Stores the Y-axis velocity.
-
-
Constructor Details
-
MouseWheelVelocity
Deprecated.Construct the higher-level view of the original ONMOUSEWHEEL Event.- Parameters:
e
- the event
-
-
Method Details
-
equals
Deprecated. -
getDeltaY
Deprecated.useMouseWheelEvent.getDeltaY()
insteadReturns 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). -
hashCode
public int hashCode()Deprecated. -
isNorth
Deprecated.useMouseWheelEvent.isNorth()
insteadConvenience method that returnstrue
ifgetDeltaY()
is a negative value.- Returns:
true
if the velocity includes a component directed toword the top of the screen
-
isSouth
Deprecated.useMouseWheelEvent.isSouth()
insteadConvenience method that returnstrue
ifgetDeltaY()
is a positive value.- Returns:
true
if the velocity includes a component directed toword the bottom of the screen
-
toString
Deprecated.
-
MouseWheelEvent.getDeltaY()
instead