View Javadoc

1   /*
2    * interface method to set the name of the image
3    * and a description of each clickable zone
4    */
5   package org.lsst.ccs.utilities.zonesui;
6   
7   import javax.swing.ImageIcon;
8   import java.util.List;
9   
10  /**
11   *
12   * @author Pascal Durieu, bamade
13   */
14  public interface ImageDescription {
15      //title of the main Frame
16      String getTitle();
17      
18      //main image
19      ImageIcon getIcon();
20      
21      //array with the differents clickables shapes (see Zone class)
22      List<Zone> getShapeDescription();
23  }