Package com.tagtraum.beatunes
Class DoubleClickMouseAdapter
- java.lang.Object
-
- java.awt.event.MouseAdapter
-
- com.tagtraum.beatunes.DoubleClickMouseAdapter
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class DoubleClickMouseAdapter extends MouseAdapter
DoubleClickMouseAdapter.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description DoubleClickMouseAdapter(Object source, DoubleClickListener doubleClickListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accept(MouseEvent e)
Override this method to filter out/accept mouse events.void
mouseClicked(MouseEvent e)
-
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
-
-
-
-
Constructor Detail
-
DoubleClickMouseAdapter
public DoubleClickMouseAdapter(Object source, DoubleClickListener doubleClickListener)
- Parameters:
source
- action sourcedoubleClickListener
- listener
-
-
Method Detail
-
mouseClicked
public void mouseClicked(MouseEvent e)
- Specified by:
mouseClicked
in interfaceMouseListener
- Overrides:
mouseClicked
in classMouseAdapter
-
accept
protected boolean accept(MouseEvent e)
Override this method to filter out/accept mouse events.- Parameters:
e
- mouse event- Returns:
- true, if it should be possible to forward this to a
DoubleClickListener
-
-