View Javadoc

1   // Copyright 2004-2005, FreeHEP.
2   package hep.wired.heprep.interaction;
3   
4   import java.util.Set;
5   
6   import hep.wired.services.RecordPlot;
7   
8   /***
9    *
10   * @author Mark Donszelmann
11   * @version $Id: PickHandler.java 2087 2005-07-20 23:49:09Z duns $
12   */
13  public interface PickHandler {
14              
15      public void update(RecordPlot plot);
16      public void setSelected(RecordPlot plot, Set/*<HepRepInstance>*/ selectedInstances);
17      
18      public boolean isRegionZoomable();
19      public void zoomIntoRegion(RecordPlot plot);    
20      
21      public boolean isPickedTranslateable();
22      public void translateToPicked(RecordPlot plot);    
23      
24      public boolean canSetPickWhileDragging();
25      public void setPickWhileDragging(boolean state);
26      public boolean isPickWhileDragging();
27  }