hermes.postoffice
Class MouseWheelMessage

java.lang.Object
  extended by hermes.postoffice.MouseWheelMessage
All Implemented Interfaces:
Message

public class MouseWheelMessage
extends java.lang.Object
implements Message

Message representing a movement of the Mouse Wheel. All MouseWheelMessages are of the same type.


Constructor Summary
MouseWheelMessage(int wheelRotation)
          Creates a new MouseWheelMessage.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for the equality of MouseWheelMessage types.
 int getWheelRotation()
          Gets the amount the wheel has been rotated.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseWheelMessage

public MouseWheelMessage(int wheelRotation)
Creates a new MouseWheelMessage.

Parameters:
wheelRotation -
Method Detail

getWheelRotation

public int getWheelRotation()
Gets the amount the wheel has been rotated.


equals

public boolean equals(java.lang.Object o)
Checks for the equality of MouseWheelMessage types.

Overrides:
equals in class java.lang.Object