01: /*
02: * GNetWatch
03: * Copyright 2006, 2007 Alexandre Fenyo
04: * gnetwatch@fenyo.net
05: *
06: * This file is part of GNetWatch.
07: *
08: * GNetWatch is free software; you can redistribute it and/or modify
09: * it under the terms of the GNU General Public License as published by
10: * the Free Software Foundation; either version 2 of the License, or
11: * (at your option) any later version.
12: *
13: * GNetWatch 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 GNetWatch; if not, write to the Free Software
20: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21: */
22:
23: package net.fenyo.gnetwatch.GUI;
24:
25: import java.io.*;
26: import java.util.Date;
27: import java.awt.*;
28: import java.awt.event.WindowEvent;
29: import java.awt.font.*;
30: import java.awt.geom.*;
31: import java.awt.image.*;
32: import javax.swing.*;
33: import javax.imageio.*;
34:
35: import net.fenyo.gnetwatch.data.EventFlood;
36: import net.fenyo.gnetwatch.data.EventReachable;
37: import net.fenyo.gnetwatch.targets.Target;
38:
39: import org.apache.commons.logging.Log;
40: import org.apache.commons.logging.LogFactory;
41:
42: /**
43: * This class is intended to display maps.
44: * @author Alexandre Fenyo
45: * @version $Id: MapComponent.java,v 1.7 2007/03/03 00:38:19 fenyo Exp $
46: */
47:
48: public class MapComponent extends BasicComponent {
49: private static Log log = LogFactory.getLog(MapComponent.class);
50:
51: /**
52: * Constructor.
53: * @param target target this graphic component works on.
54: */
55: public MapComponent(final Target target) {
56: super (target);
57: }
58:
59: /**
60: * Called when the window is closing.
61: * @param e event.
62: * @return void.
63: */
64: public void windowClosing(final WindowEvent e) {
65: }
66:
67: /**
68: * Fetches events that can be displayed.
69: * @param none.
70: * @return void.
71: */
72: protected void updateValues() {
73: }
74: }
|