2
This file is part of Flywire.
4
Flywire is free software: you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation, either version 3 of the License, or
7
(at your option) any later version.
9
Flywire is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
along with Flywire. If not, see <http://www.gnu.org/licenses/>.
17
package org.bentokit.flywire;
20
* To change this template, choose Tools | Templates
21
* and open the template in the editor.
28
public class BasicMediaInfoPanelFactory implements MediaInfoPanelFactory
30
public MediaInfoPanel makeSummaryMediaPanel()
32
return new BasicMediaInfoPanel();
35
public MediaInfoPanel makeVerboseMediaPanel()
37
return new BasicMediaInfoPanel();
40
public MediaInfoPanel makeSummaryMediaPanel(MediaInfoPanel template)
42
assert template instanceof BasicMediaInfoPanel;
43
return new BasicMediaInfoPanel((BasicMediaInfoPanel) template);
46
public MediaInfoPanel makeVerboseMediaPanel(MediaInfoPanel template)
48
assert template instanceof BasicMediaInfoPanel;
49
return new BasicMediaInfoPanel((BasicMediaInfoPanel) template);
52
public Class getSummaryMediaPanelClass()
54
return BasicMediaInfoPanel.class;
57
public Class getVerboseMediaPanelClass()
59
return BasicMediaInfoPanel.class;