1 |
|
//---PACKAGE DECLARATION--- |
2 |
< |
package uk.ac.ukc.iscream.conient.datacomponents; |
2 |
> |
package uk.org.iscream.conient.datacomponents; |
3 |
|
|
4 |
|
//---IMPORTS--- |
5 |
|
import javax.swing.JLabel; |
93 |
|
try { |
94 |
|
if(!_cache.equals(value)) { |
95 |
|
_cache = value; |
96 |
< |
SwingUtilities.invokeLater(this); |
96 |
> |
SwingUtilities.invokeLater(this); |
97 |
|
} |
98 |
|
} catch (Exception e) { |
99 |
|
throw new DataFormatException(value + " is an invalid data type for " + toString()); |
108 |
|
*/ |
109 |
|
public String getPacketAttribute() { |
110 |
|
return _attribute; |
111 |
+ |
} |
112 |
+ |
|
113 |
+ |
/** |
114 |
+ |
* Returns the string showing the packet |
115 |
+ |
* data that the component is looking after |
116 |
+ |
* |
117 |
+ |
* @return the packet reference |
118 |
+ |
*/ |
119 |
+ |
public String getValue() { |
120 |
+ |
return _cache; |
121 |
|
} |
122 |
|
|
123 |
|
//---ATTRIBUTES--- |