Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.event.MouseEvent

Availability: JDK 1.1

public class MouseEvent extends InputEvent {
   // Public Constructor
      public MouseEvent(Component source, int id, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger);
   // Constants
      public static final int MOUSE_CLICKED;
      public static final int MOUSE_DRAGGED;
      public static final int MOUSE_ENTERED;
      public static final int MOUSE_EXITED;
      public static final int MOUSE_FIRST;
      public static final int MOUSE_LAST;
      public static final int MOUSE_MOVED;
      public static final int MOUSE_PRESSED;
      public static final int MOUSE_RELEASED;
   // Public Instance Methods
      public int getClickCount();
      public Point getPoint();
      public int getX();
      public int getY();
      public boolean isPopupTrigger();
      public String paramString();  // Overrides ComponentEvent.paramString()
      public synchronized void translatePoint(int x, int y);
}
Passed To:
AWTEventMulticaster.mouseClicked(), AWTEventMulticaster.mouseDragged(), AWTEventMulticaster.mouseEntered(), AWTEventMulticaster.mouseExited(), AWTEventMulticaster.mouseMoved(), AWTEventMulticaster.mousePressed(), AWTEventMulticaster.mouseReleased(), Component.processMouseEvent(), Component.processMouseMotionEvent(), MouseAdapter.mouseClicked(), MouseAdapter.mouseEntered(), MouseAdapter.mouseExited(), MouseAdapter.mousePressed(), MouseAdapter.mouseReleased(), MouseListener.mouseClicked(), MouseListener.mouseEntered(), MouseListener.mouseExited(), MouseListener.mousePressed(), MouseListener.mouseReleased(), MouseMotionAdapter.mouseDragged(), MouseMotionAdapter.mouseMoved(), MouseMotionListener.mouseDragged(), MouseMotionListener.mouseMoved().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.