Package com.google.gwt.user.client.ui
Class MouseWheelVelocity
- java.lang.Object
-
- com.google.gwt.user.client.ui.MouseWheelVelocity
-
@Deprecated public class MouseWheelVelocity extends java.lang.Object
Deprecated.useMouseWheelEvent.getDeltaY()
insteadEncapsulates 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
vY
Deprecated.Stores the Y-axis velocity.
-
Constructor Summary
Constructors Constructor Description MouseWheelVelocity(Event e)
Deprecated.Construct the higher-level view of the original ONMOUSEWHEEL Event.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.int
getDeltaY()
Deprecated.useMouseWheelEvent.getDeltaY()
insteadint
hashCode()
Deprecated.boolean
isNorth()
Deprecated.useMouseWheelEvent.isNorth()
insteadboolean
isSouth()
Deprecated.useMouseWheelEvent.isSouth()
insteadjava.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
MouseWheelVelocity
public MouseWheelVelocity(Event e)
Deprecated.Construct the higher-level view of the original ONMOUSEWHEEL Event.- Parameters:
e
- the event
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
getDeltaY
@Deprecated public int 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.- Overrides:
hashCode
in classjava.lang.Object
-
isNorth
@Deprecated public boolean 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 public boolean 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
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-