View Javadoc

1   package fr.ove.openmath.jome.ctrlview.bidim;
2   
3   import fr.ove.openmath.jome.ctrlview.bidim.Display;
4   
5   /***
6   * Interface to implement to manage the substitution of displays.
7   *
8   * @author © 1999 DIRAT Laurent
9   * @version 2.0  04/08/1999
10  */
11  public interface SubstitutedDisplayManager {
12      /*
13      * Adds a substituted display to the list.
14      * @param display the display to add
15      */
16      public void addSubstitutedDisplay(Display display);
17      
18      /*
19      * Removes a substituted display to the list.
20      * @param display the display to remove.
21      */
22      public void removeSubstitutedDisplay(Display display);
23      
24      /*
25      * Removes a substituted display at the specified rank to the list.
26      * @param rank the specified rank.
27      */
28      public void removeSubstitutedDisplay(int rank);
29      
30      /***
31      * Returns the substituted display at the specified rank.
32      * @param rank the specified rank.
33      */
34      public Display getSubstitutedDisplay(int rank);
35      
36      /***
37      * Returns the number of substituted displays.
38      */
39      public int getNbSubstitutedDisplay();
40  }