cmu.survey.data.databits
Class DoubleDataBit
java.lang.Object
cmu.survey.data.databits.DataBit<T>
cmu.survey.data.databits.GenericNumberDataBit<java.lang.Double>
cmu.survey.data.databits.DoubleDataBit
- All Implemented Interfaces:
- java.lang.Cloneable, CloneablePublicly, CanAddPropertyChangeListener
public class DoubleDataBit
- extends GenericNumberDataBit<java.lang.Double>
- implements CloneablePublicly
Constructor Summary |
DoubleDataBit(java.lang.String dataFieldName)
|
DoubleDataBit(java.lang.String dataFieldName,
java.lang.Double startValue)
|
Methods inherited from class cmu.survey.data.databits.DataBit |
addPropertyChangeListener, clone, getLastSavedValue, getName, hasBeenModified, isEditable, removePropertyChangeListener, setEditable, setHasBeenModified, setHasBeenModified, setLastSavedObjectValue |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lastSavedValue
protected java.lang.Double lastSavedValue
DoubleDataBit
public DoubleDataBit(java.lang.String dataFieldName)
- Parameters:
dataFieldName
-
DoubleDataBit
public DoubleDataBit(java.lang.String dataFieldName,
java.lang.Double startValue)
getValue
public java.lang.Double getValue()
- Overrides:
getValue
in class DataBit<java.lang.Double>
setValueGetUndo
public DataBitUndoableEdit<java.lang.Double> setValueGetUndo(java.lang.Double newValue)
- Overrides:
setValueGetUndo
in class DataBit<java.lang.Double>
setValue
public void setValue(java.lang.Double newValue)
- Overrides:
setValue
in class DataBit<java.lang.Double>
setLastSavedValue
public void setLastSavedValue(java.lang.Double lastSaved)
- Overrides:
setLastSavedValue
in class DataBit<java.lang.Double>
toString
public java.lang.String toString()
- Overrides:
toString
in class DataBit<java.lang.Double>
copy
public DoubleDataBit copy()
- Specified by:
copy
in class DataBit<java.lang.Double>
equals
public boolean equals(java.lang.Object compareMe)
- Overrides:
equals
in class java.lang.Object