public interface DoubleClickListener extends LocatedListener
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.Modifier and Type | Method and Description |
---|---|
boolean |
process(Dockable dockable,
MouseEvent event)
Called when the user has clicked twice on
dockable or
on one of the titles of dockable . |
getTreeLocation
boolean process(Dockable dockable, MouseEvent event)
dockable
or
on one of the titles of dockable
.dockable
- the clicked elementevent
- the cause of the invocation of this methodtrue
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