|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.MouseWheelVelocity
public class MouseWheelVelocity
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.
An
explanation of the units used for mouse wheel velocity.
Field Summary | |
---|---|
protected int |
vY
Stores the Y-axis velocity. |
Constructor Summary | |
---|---|
MouseWheelVelocity(Event e)
Construct the higher-level view of the original ONMOUSEWHEEL Event. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
getDeltaY()
|
int |
hashCode()
|
boolean |
isNorth()
Convenience method that returns true if getDeltaY()
is a negative value. |
boolean |
isSouth()
Convenience method that returns true if getDeltaY()
is a positive value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected final int vY
Constructor Detail |
---|
public MouseWheelVelocity(Event e)
e
- the eventMethod Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int getDeltaY()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isNorth()
true
if getDeltaY()
is a negative value.
true
if the velocity includes a component directed
toword the top of the screenpublic boolean isSouth()
true
if getDeltaY()
is a positive value.
true
if the velocity includes a component directed
toword the bottom of the screenpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |