robocode
Class MouseDraggedEvent

java.lang.Object
  extended by robocode.Event
      extended by robocode.MouseEvent
          extended by robocode.MouseDraggedEvent
All Implemented Interfaces:
Serializable, Comparable<Event>

public final class MouseDraggedEvent
extends MouseEvent

A MouseDraggedEvent is sent to onMouseDragged() when the mouse is dragged inside the battle view.

Since:
1.6.1
Author:
Pavel Savara (original), Flemming N. Larsen (contributor)
See Also:
MouseClickedEvent, MousePressedEvent, MouseReleasedEvent, MouseEnteredEvent, MouseExitedEvent, MouseMovedEvent, MouseWheelMovedEvent, Serialized Form

Constructor Summary
MouseDraggedEvent(MouseEvent source)
          Called by the game to create a new MouseDraggedEvent.
 
Method Summary
 
Methods inherited from class robocode.MouseEvent
getSourceEvent
 
Methods inherited from class robocode.Event
compareTo, getPriority, getTime, setPriority, setTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MouseDraggedEvent

public MouseDraggedEvent(MouseEvent source)
Called by the game to create a new MouseDraggedEvent.

Parameters:
source - the source mouse event originating from the AWT.


Copyright © 2013 Robocode. All Rights Reserved.