3
* Copyright (C) 2008 W. Xaver
4
* W.Xaver[at]googlemail.com
5
* http://zdfmediathk.sourceforge.net/
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
package mediathek.controller.filmeLaden;
22
import java.util.EventListener;
23
import javax.swing.SwingUtilities;
24
import mediathek.tool.Log;
26
public class ListenerFilmeLaden implements EventListener {
28
ListenerFilmeLadenEvent event;
30
public void start(ListenerFilmeLadenEvent e) {
42
public void progress(ListenerFilmeLadenEvent e) {
53
public void fertig(ListenerFilmeLadenEvent e) {
64
public void start_(ListenerFilmeLadenEvent event) {
67
public void progress_(ListenerFilmeLadenEvent event) {
70
public void fertig_(ListenerFilmeLadenEvent event) {
73
private void run_(Runnable r) {
75
if (SwingUtilities.isEventDispatchThread()) {
79
SwingUtilities.invokeLater(r);
81
} catch (Exception ex) {
82
Log.fehlerMeldung(461025879, Log.FEHLER_ART_PROG, "ListenerFilmeLaden.fertig", ex);