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.ObjectDeprecated.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 intvYDeprecated.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 booleanequals(java.lang.Object o)Deprecated.intgetDeltaY()Deprecated.useMouseWheelEvent.getDeltaY()insteadinthashCode()Deprecated.booleanisNorth()Deprecated.useMouseWheelEvent.isNorth()insteadbooleanisSouth()Deprecated.useMouseWheelEvent.isSouth()insteadjava.lang.StringtoString()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:
equalsin 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:
hashCodein classjava.lang.Object
-
isNorth
@Deprecated public boolean isNorth()
Deprecated.useMouseWheelEvent.isNorth()insteadConvenience method that returnstrueifgetDeltaY()is a negative value.- Returns:
trueif the velocity includes a component directed toword the top of the screen
-
isSouth
@Deprecated public boolean isSouth()
Deprecated.useMouseWheelEvent.isSouth()insteadConvenience method that returnstrueifgetDeltaY()is a positive value.- Returns:
trueif the velocity includes a component directed toword the bottom of the screen
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-