Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
JPanelSearch |
|
| 1.0;1 |
1 | package org.jtheque.films.view.impl.panels.search; | |
2 | ||
3 | /* | |
4 | * This file is part of JTheque. | |
5 | * | |
6 | * JTheque is free software: you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation, either version 3 of the License. | |
9 | * | |
10 | * JTheque is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
17 | */ | |
18 | ||
19 | import org.jtheque.films.services.impl.utils.search.Searcher; | |
20 | import org.jtheque.primary.od.able.Data; | |
21 | ||
22 | import javax.swing.JPanel; | |
23 | ||
24 | /** | |
25 | * Represents a panel of research. | |
26 | * | |
27 | * @author Baptiste Wicht | |
28 | */ | |
29 | 0 | public abstract class JPanelSearch extends JPanel { |
30 | private static final long serialVersionUID = -695899761548455194L; | |
31 | ||
32 | /** | |
33 | * Return the title of the panel. | |
34 | * | |
35 | * @return The title | |
36 | */ | |
37 | public abstract String getTitle(); | |
38 | ||
39 | /** | |
40 | * Build the search with the content of the panel. | |
41 | * | |
42 | * @return The search | |
43 | */ | |
44 | public abstract Searcher<? extends Data> getSearcher(); | |
45 | } |