站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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.


Method Index

 o mouseClicked(MouseEvent)
Invoked when the mouse has been clicked on a component.
 o mouseEntered(MouseEvent)
Invoked when the mouse enters a component.
 o mouseExited(MouseEvent)
Invoked when the mouse exits a component.
 o mousePressed(MouseEvent)
Invoked when a mouse button has been pressed on a component.
 o mouseReleased(MouseEvent)
Invoked when a mouse button has been released on a component.

Methods

 o mouseClicked
 public abstract void mouseClicked(MouseEvent e)
Invoked when the mouse has been clicked on a component.

 o mousePressed
 public abstract void mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.

 o mouseReleased
 public abstract void mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.

 o mouseEntered
 public abstract void mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.

 o 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.