cmu.survey.editor.data
Class CopyingNumberDataBit
java.lang.Object
cmu.survey.data.databits.DataBit<T>
cmu.survey.data.databits.GenericNumberDataBit<java.lang.Integer>
cmu.survey.data.databits.IntegerDataBit
cmu.survey.editor.data.CopyingNumberDataBit
- All Implemented Interfaces:
- java.lang.Cloneable, CloneablePublicly, CanAddPropertyChangeListener
public class CopyingNumberDataBit
- extends IntegerDataBit
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 |
CopyingNumberDataBit
public CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy)
CopyingNumberDataBit
public CopyingNumberDataBit(IntegerDataBit numberDataBitToCopy,
java.lang.String name)
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