ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/StringDataComponent.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/StringDataComponent.java (file contents):
Revision 1.11 by ajm, Sun Feb 4 00:06:15 2001 UTC vs.
Revision 1.14 by ajm, Thu Mar 15 01:05:46 2001 UTC

# Line 1 | Line 1
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;
# Line 93 | Line 93 | public class StringDataComponent extends VisibleDataCo
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());
# Line 108 | Line 108 | public class StringDataComponent extends VisibleDataCo
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---

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines