cmu.survey.editor.data
Class CopyingNumberDataBit

java.lang.Object
  extended by cmu.survey.data.databits.DataBit<T>
      extended by cmu.survey.data.databits.GenericNumberDataBit<java.lang.Integer>
          extended by cmu.survey.data.databits.IntegerDataBit
              extended by cmu.survey.editor.data.CopyingNumberDataBit
All Implemented Interfaces:
java.lang.Cloneable, CloneablePublicly, CanAddPropertyChangeListener

public class CopyingNumberDataBit
extends IntegerDataBit


Field Summary
 
Fields inherited from class cmu.survey.data.databits.DataBit
lastSavedValue, propertyChangeSupport
 
Constructor Summary
CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy)
           
CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy, java.lang.String name)
           
 
Method Summary
 IntegerDataBit copy()
           
 java.lang.Integer getValue()
          Kept around for cross-compilation with Java 1.4.
 void setLastSavedValue(java.lang.Integer lastSaved)
           
 void setValue(java.lang.Integer newValue)
          Kept around for cross-compilation with Java 1.4.
 java.lang.String toString()
           
 
Methods inherited from class cmu.survey.data.databits.IntegerDataBit
equals, hasBeenModified
 
Methods inherited from class cmu.survey.data.databits.GenericNumberDataBit
getValueAsNumber
 
Methods inherited from class cmu.survey.data.databits.DataBit
addPropertyChangeListener, clone, getLastSavedValue, getName, isEditable, removePropertyChangeListener, setEditable, setHasBeenModified, setHasBeenModified, setLastSavedObjectValue, setValueGetUndo
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.browsecode.helpers.CloneablePublicly
clone
 

Constructor Detail

CopyingNumberDataBit

public CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy)

CopyingNumberDataBit

public CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy,
                            java.lang.String name)
Method Detail

getValue

public java.lang.Integer getValue()
Description copied from class: IntegerDataBit
Kept around for cross-compilation with Java 1.4. This is a compiler bug -- as soon as all 1.4 code is removed, this can be removed.

Overrides:
getValue in class IntegerDataBit

setValue

public void setValue(java.lang.Integer newValue)
Description copied from class: IntegerDataBit
Kept around for cross-compilation with Java 1.4. This is a compiler bug -- as soon as all 1.4 code is removed, this can be removed.

Overrides:
setValue in class IntegerDataBit

setLastSavedValue

public void setLastSavedValue(java.lang.Integer lastSaved)
Overrides:
setLastSavedValue in class DataBit<java.lang.Integer>

toString

public java.lang.String toString()
Overrides:
toString in class IntegerDataBit

copy

public IntegerDataBit copy()
Overrides:
copy in class IntegerDataBit