当前页面:
在线文档首页 >
JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
Interface java.awt.event.MouseListener - JDK 5 Documentation v1.1.8, Java 2 SDK 英文文档
All Packages Class Hierarchy This Package Previous Next Index
Interface java.awt.event.MouseListener
- public interface MouseListener
- extends EventListener
The listener interface for receiving mouse events on a component.
-
mouseClicked(MouseEvent)
- Invoked when the mouse has been clicked on a component.
-
mouseEntered(MouseEvent)
- Invoked when the mouse enters a component.
-
mouseExited(MouseEvent)
- Invoked when the mouse exits a component.
-
mousePressed(MouseEvent)
- Invoked when a mouse button has been pressed on a component.
-
mouseReleased(MouseEvent)
- Invoked when a mouse button has been released on a component.
mouseClicked
public abstract void mouseClicked(MouseEvent e)
- Invoked when the mouse has been clicked on a component.
mousePressed
public abstract void mousePressed(MouseEvent e)
- Invoked when a mouse button has been pressed on a component.
mouseReleased
public abstract void mouseReleased(MouseEvent e)
- Invoked when a mouse button has been released on a component.
mouseEntered
public abstract void mouseEntered(MouseEvent e)
- Invoked when the mouse enters a component.
mouseExited
public abstract void mouseExited(MouseEvent e)
- Invoked when the mouse exits a component.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.