MouseAdapterNameMouseAdapter
DescriptionThe MouseAdapter class implements the methods of MouseListener with empty functions. It may be easier for you to extend MouseAdapter, overriding only those methods you are interested in, than to implement MouseListener and provide the empty functions yourself. Class Definition
public abstract class java.awt.event.MouseAdapter extends java.lang.Object implements java.awt.event.MouseListener { // Instance Methods public void mouseClicked (MouseEvent e); public void mouseEntered (MouseEvent e); public void mouseExited (MouseEvent e); public void mousePressed (MouseEvent e); public void mouseReleased (MouseEvent e); } Instance MethodsmouseClickedpublic void mouseClicked (MouseEvent e)
mouseEnteredpublic void mouseEntered (MouseEvent e)
mouseExitedpublic void mouseExited (MouseEvent e)
mousePressedpublic void mousePressed (MouseEvent e)
mouseReleasedpublic void mouseReleased (MouseEvent e)
See AlsoMouseEvent, MouseListener |
|