1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package triptracker.client.ui;
21
22 /***
23 * The form manager interface provides methods for forms to register on their
24 * parent GUI object and gives them the ability to change to other forms
25 * dynamically.
26 */
27 public interface FormManager {
28 /***
29 * Register a form on the form manager. The form manager usually inserts
30 * the form into a form list and adds the <code>JComponent</code> from the
31 * form to its container object.
32 *
33 * @param form to register
34 */
35 public void register(Form form);
36
37 /***
38 * De-register a form from a form manager. The form manager removes the form
39 * from the form list and its container object.
40 *
41 * @param form to de-register
42 */
43 public void deregister(Form form);
44
45 /***
46 * Shows the specified form on the container controlled by the form manager.
47 *
48 * @param form to show
49 */
50 public void showForm(Form form);
51 }