|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.survey.data.databits.DataBit<T> cmu.survey.data.databits.GenericNumberDataBit<T>
public abstract class GenericNumberDataBit<T extends java.lang.Number>
Field Summary |
---|
Fields inherited from class cmu.survey.data.databits.DataBit |
---|
lastSavedValue, propertyChangeSupport |
Constructor Summary | |
---|---|
GenericNumberDataBit(java.lang.String dataFieldName)
|
|
GenericNumberDataBit(java.lang.String dataFieldName,
T startValue)
|
Method Summary | |
---|---|
java.lang.Number |
getValueAsNumber()
You should make sure to only set this with the right type for the subclass -- if you fail, it will throw an exception. |
Methods inherited from class cmu.survey.data.databits.DataBit |
---|
addPropertyChangeListener, clone, copy, getLastSavedValue, getName, getValue, hasBeenModified, isEditable, removePropertyChangeListener, setEditable, setHasBeenModified, setHasBeenModified, setLastSavedObjectValue, setLastSavedValue, setValue, setValueGetUndo, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericNumberDataBit(java.lang.String dataFieldName)
dataFieldName
- public GenericNumberDataBit(java.lang.String dataFieldName, T startValue)
Method Detail |
---|
public java.lang.Number getValueAsNumber()
number
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |