40c44f495efed7b326c6cd507aa3056842a12cf0
[jalview.git] / src / jalview / structure / SelectionListener.java
1 /**
2  * 
3  */
4 package jalview.structure;
5
6
7 /**
8  * Implemented by objects listening for selection events on SelectionSources 
9  */
10 public interface SelectionListener
11 {
12   /**
13    * method called by the event broadcaster (see jalview.structure.StructureSelectionManager) to pass on a selection event to listeners
14    * @param seqsel - group of selected sequences
15    * @param colsel - specific columns in selection
16    * @param source - source of the selection event
17    */
18   public void selection(jalview.datamodel.SequenceGroup seqsel, jalview.datamodel.ColumnSelection colsel, SelectionSource source);
19 }