MouseListenerNameMouseListener
DescriptionObjects that implement the MouseListener interface can receive non-motion oriented MouseEvent objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners. Interface Definition
public abstract interface java.awt.event.MouseListener extends java.util.EventListener { // Instance Methods public abstract void mouseClicked (MouseEvent e); public abstract void mouseEntered (MouseEvent e); public abstract void mouseExited (MouseEvent e); public abstract void mousePressed (MouseEvent e); public abstract void mouseReleased (MouseEvent e); } Interface MethodsmouseClickedpublic abstract void mouseClicked (MouseEvent e)
mouseEnteredpublic abstract void mouseEntered (MouseEvent e)
mouseExitedpublic abstract void mouseExited (MouseEvent e)
mousePressedpublic abstract void mousePressed (MouseEvent e)
mouseReleasedpublic abstract void mouseReleased (MouseEvent e)
See AlsoEventListener, MouseAdapter, MouseEvent |
|