Protege 3.4.8

edu.stanford.smi.protege.util
Class DoubleClickActionAdapter

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by edu.stanford.smi.protege.util.DoubleClickActionAdapter
All Implemented Interfaces:
MouseListener, EventListener

public class DoubleClickActionAdapter
extends MouseAdapter

An adapter that causes the raw "mouse clicked" event to fire an action if the real event is actually a double click.

Author:
Ray Fergerson

Constructor Summary
DoubleClickActionAdapter(Action initialAction)
           
 
Method Summary
 void mouseClicked(MouseEvent event)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleClickActionAdapter

public DoubleClickActionAdapter(Action initialAction)
Method Detail

mouseClicked

public void mouseClicked(MouseEvent event)
Specified by:
mouseClicked in interface MouseListener
Overrides:
mouseClicked in class MouseAdapter

Protege 3.4.8

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.