edu.uci.ics.jung.visualization.event
Class MouseWheelEvent<E>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.event.EventObject<E>
      extended by edu.uci.ics.jung.visualization.event.InputEvent<E>
          extended by edu.uci.ics.jung.visualization.event.MouseEvent<E>
              extended by edu.uci.ics.jung.visualization.event.MouseWheelEvent<E>

public class MouseWheelEvent<E>
extends MouseEvent<E>

An abstract mouse wheel event from the screen device.

Author:
Jason A Wrang

Constructor Summary
MouseWheelEvent(E uiEvent, Object source, long time, int modifiers, int extendedModifiers, int button, int x, int y, boolean popupTrigger, int clickCount, int scrollType, int scrollAmount, int wheelRotation)
           
MouseWheelEvent(MouseWheelEvent<E> event)
           
 
Method Summary
 int getScrollAmount()
           
 int getScrollType()
           
 int getWheelRotation()
           
 
Methods inherited from class edu.uci.ics.jung.visualization.event.MouseEvent
getButton, getClickCount, getPoint, getX, getY, isPopupTrigger
 
Methods inherited from class edu.uci.ics.jung.visualization.event.InputEvent
consume, getExtendedModifiers, getModifiers, getTime, isAltDown, isConsumed, isControlDown, isShiftDown
 
Methods inherited from class edu.uci.ics.jung.visualization.event.EventObject
getSource, getUiEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseWheelEvent

public MouseWheelEvent(MouseWheelEvent<E> event)

MouseWheelEvent

public MouseWheelEvent(E uiEvent,
                       Object source,
                       long time,
                       int modifiers,
                       int extendedModifiers,
                       int button,
                       int x,
                       int y,
                       boolean popupTrigger,
                       int clickCount,
                       int scrollType,
                       int scrollAmount,
                       int wheelRotation)
Method Detail

getScrollAmount

public int getScrollAmount()
Returns:
the scrollAmount

getScrollType

public int getScrollType()
Returns:
the scrollType

getWheelRotation

public int getWheelRotation()
Returns:
the wheelRotation


Copyright © 2007. All Rights Reserved.