1 |
//---PACKAGE DECLARATION--- |
2 |
uk.ac.ukc.iscream.conient.datacomponents; |
3 |
|
4 |
//---IMPORTS--- |
5 |
import javax.swing.JPanel; |
6 |
|
7 |
/** |
8 |
* This is the abstract class for all |
9 |
* data components that will display data on the screen. |
10 |
* |
11 |
* This is an abstract class based on a JPanel ensuring |
12 |
* that all components can be handled like a JPanel. It |
13 |
* extends the JPanel by adding a specific setValue function |
14 |
* this tells the component to update its data display however it |
15 |
* sees fit. This value is the string value obtained from an |
16 |
* XML packet, it is up to the component to convert and display |
17 |
* as it chooses, if there is a problem doing this then it |
18 |
* can throw a DataFormatException to indicate the problem. |
19 |
* |
20 |
* @author $Author: ajm4 $ |
21 |
* @version $Id: DataComponent.java,v 1.2 2001/01/22 12:32:14 ajm4 Exp $ |
22 |
*/ |
23 |
abstract class VisibleDataComponent extends JPanel { |
24 |
|
25 |
//---FINAL ATTRIBUTES--- |
26 |
|
27 |
/** |
28 |
* The current CVS revision of this class |
29 |
*/ |
30 |
public final String REVISION = "$Revision: 1.2 $"; |
31 |
|
32 |
//---STATIC METHODS--- |
33 |
|
34 |
//---CONSTRUCTORS--- |
35 |
|
36 |
//---PUBLIC METHODS--- |
37 |
|
38 |
//---PRIVATE METHODS--- |
39 |
|
40 |
//---ACCESSOR/MUTATOR METHODS--- |
41 |
|
42 |
//---ATTRIBUTES--- |
43 |
|
44 |
//---STATIC ATTRIBUTES--- |
45 |
|
46 |
} |