is new.
java.lang.Objectjava.awt.event.MouseAdapter
javax.swing.event.MouseInputAdapter
,
MouseWheelListener
,
EventListener
,
MouseInputListener
public abstract class MouseInputAdapter
MouseAdapter
An empty implementation of the MouseInputListener interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest. This class also provides an empty implementation of the MouseWheelListener interface, through its extension from AWT's MouseAdapter.
The adapter which receives mouse events and mouse motion events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.
| Constructor Summary | |
|---|---|
|
MouseInputAdapter
() |
|
| Method Summary | |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods inherited from class java.awt.event.
MouseAdapter
|
|---|
mouseClicked
,
mouseDragged
,
mouseEntered
,
mouseExited
,
mouseMoved
,
mousePressed
,
mouseReleased
,
mouseWheelMoved
|
| Methods inherited from class java.lang. Object |
|---|
| clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Methods inherited from interface java.awt.event.
MouseListener
|
|---|
mouseClicked
,
mouseEntered
,
mouseExited
,
mousePressed
,
mouseReleased
|
Methods inherited from interface java.awt.event.
MouseMotionListener
|
|---|
mouseDragged
,
mouseMoved
|
publicMouseInputAdapter()
Constructor
|
|---|
MouseInputAdapter
publicvoidMouseInputAdapter
mouseClicked()
(MouseEvente)
public voidmousePressed(MouseEvente)
public voidmouseReleased(MouseEvente)
public voidmouseEntered(MouseEvente)
public voidmouseExited(MouseEvente)
public voidmouseDragged(MouseEvente)
Due to platform-dependent Drag&Drop implementations, MOUSE_DRAGGED events may not be delivered during a native Drag&Drop operation.
public voidmouseMoved(MouseEvente)