]> gitweb.fperrin.net Git - GpsPrune.git/blob - tim/prune/gui/GenericDisplay.java
Version 5, May 2008
[GpsPrune.git] / tim / prune / gui / GenericDisplay.java
1 package tim.prune.gui;
2
3 import javax.swing.JPanel;
4
5 import tim.prune.DataSubscriber;
6 import tim.prune.data.Track;
7 import tim.prune.data.TrackInfo;
8
9 /**
10  * Superclass of all display components
11  */
12 public abstract class GenericDisplay extends JPanel implements DataSubscriber
13 {
14         protected TrackInfo _trackInfo = null;
15         protected Track _track = null;
16
17         /**
18          * Constructor
19          * @param inTrackInfo trackInfo object
20          */
21         public GenericDisplay(TrackInfo inTrackInfo)
22         {
23                 _trackInfo = inTrackInfo;
24                 _track = _trackInfo.getTrack();
25         }
26
27         /**
28          * Ignore action completed signals
29          */
30         public void actionCompleted(String inMessage)
31         {
32         }
33 }