Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Controller |
|
| 1.0;1 |
1 | package org.jtheque.core.managers.view.able.controller; | |
2 | ||
3 | import org.jtheque.core.managers.view.able.IView; | |
4 | ||
5 | ||
6 | /* | |
7 | * This file is part of JTheque. | |
8 | * | |
9 | * JTheque is free software: you can redistribute it and/or modify | |
10 | * it under the terms of the GNU General Public License as published by | |
11 | * the Free Software Foundation, either version 3 of the License. | |
12 | * | |
13 | * JTheque is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
20 | */ | |
21 | ||
22 | /** | |
23 | * A UI controller. | |
24 | * | |
25 | * @author Baptiste Wicht | |
26 | */ | |
27 | public interface Controller { | |
28 | /** | |
29 | * Return the view of the controller. | |
30 | * | |
31 | * @return The view | |
32 | */ | |
33 | IView getView(); | |
34 | ||
35 | /** | |
36 | * Display the view associated with the controller. | |
37 | */ | |
38 | void displayView(); | |
39 | ||
40 | /** | |
41 | * Close the view associated with the controller. | |
42 | */ | |
43 | void closeView(); | |
44 | } |