bibliothek.gui.dock.control
Class DoubleClickController.GlobalDoubleClickListener

java.lang.Object
  extended by javax.swing.event.MouseInputAdapter
      extended by bibliothek.gui.dock.control.DoubleClickController.GlobalDoubleClickListener
All Implemented Interfaces:
MouseListener, MouseMotionListener, EventListener, MouseInputListener
Enclosing class:
DoubleClickController

protected class DoubleClickController.GlobalDoubleClickListener
extends MouseInputAdapter

A listener which waits for a double-click-event.

Author:
Benjamin Sigg

Constructor Summary
DoubleClickController.GlobalDoubleClickListener(Dockable dockable)
          Constructs a new listener.
 
Method Summary
 void mousePressed(MouseEvent event)
           
 
Methods inherited from class javax.swing.event.MouseInputAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleClickController.GlobalDoubleClickListener

public DoubleClickController.GlobalDoubleClickListener(Dockable dockable)
Constructs a new listener.

Parameters:
dockable - the element that will become the source of the forwarded event
Method Detail

mousePressed

public void mousePressed(MouseEvent event)
Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseInputAdapter