Eclipse Draw2d
2.1

org.eclipse.draw2d
Class MouseEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.eclipse.draw2d.InputEvent
              |
              +--org.eclipse.draw2d.MouseEvent
All Implemented Interfaces:
Serializable

public class MouseEvent
extends InputEvent

See Also:
Serialized Form

Field Summary
 int button
          The button that was pressed or released: {1, 2, 3}.
 int x
           
 int y
           
 
Fields inherited from class org.eclipse.draw2d.InputEvent
ALT, ANY_BUTTON, BUTTON1, BUTTON2, BUTTON3, CONTROL, SHIFT
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 Point getLocation()
           
 String toString()
           
 
Methods inherited from class org.eclipse.draw2d.InputEvent
consume, getState, isConsumed
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

button

public int button
The button that was pressed or released: {1, 2, 3}.

Method Detail

getLocation

public Point getLocation()

toString

public String toString()
Overrides:
toString in class EventObject

Eclipse Draw2d
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.