home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Java in a Nutshell

Previous Chapter 20
The java.awt.event Package
Next
 

20.23 java.awt.event.MouseMotionAdapter (JDK 1.1)

This class is a trivial implementation of MouseMotionListener; it provides empty bodies for each of the methods of that interface. When you are not interested in all of these methods, it is often easier to subclass MouseMotionAdapter than it is to implement MouseMotionListener from scratch.

public abstract class MouseMotionAdapter extends Object implements MouseMotionListener {
    // Default Constructor: public MouseMotionAdapter()
    // Public Instance Methods
            public void mouseDragged(MouseEvent e);  // From MouseMotionListener
            public void mouseMoved(MouseEvent e);  // From MouseMotionListener
}

Hierarchy:

Object->MouseMotionAdapter(MouseMotionListener(EventListener))


Previous Home Next
java.awt.event.MouseListener (JDK 1.1) Book Index java.awt.event.MouseMotionListener (JDK 1.1)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java










??????????????@Mail.ru