ini.trakem2.display
Class DisplayableChooser

java.lang.Object
  extended by ini.trakem2.display.DisplayableChooser
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public final class DisplayableChooser
extends java.lang.Object
implements java.awt.event.ActionListener

A class to be used when a click to select Displayable objects on the Display detects that there are more than one under the mouse cursor.


Constructor Summary
DisplayableChooser(java.util.Collection<Displayable> al_under, java.lang.Object lock)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 Displayable getChosen()
           
 boolean isWaiting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayableChooser

public DisplayableChooser(java.util.Collection<Displayable> al_under,
                          java.lang.Object lock)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

isWaiting

public boolean isWaiting()

getChosen

public Displayable getChosen()