bibliothek.gui.dock.event
Interface DoubleClickListener

All Superinterfaces:
LocatedListener

public interface DoubleClickListener
extends LocatedListener

A DoubleClickListener is added to the DoubleClickController and may receive an event if a Dockable, which is child or equal to LocatedListener.getTreeLocation(), was clicked twice. The event is only received if no other DoubleClickObserver processed the event.

Author:
Benjamin Sigg

Method Summary
 boolean process(Dockable dockable, MouseEvent event)
          Called when the user has clicked twice on dockable or on one of the titles of dockable.
 
Methods inherited from interface bibliothek.gui.dock.event.LocatedListener
getTreeLocation
 

Method Detail

process

boolean process(Dockable dockable,
                MouseEvent event)
Called when the user has clicked twice on dockable or on one of the titles of dockable.

Parameters:
dockable - the clicked element
event - the cause of the invocation of this method
Returns:
true if this observer processed the event (and the event must not be forwarded to any other observer), false if this observer is not interested in the event