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
14
15
16 public void addSubstitutedDisplay(Display display);
17
18
19
20
21
22 public void removeSubstitutedDisplay(Display display);
23
24
25
26
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 }