fr.esrf.tangoatk.core
Class NumberProperty

java.lang.Object
  extended by fr.esrf.tangoatk.core.Property
      extended by fr.esrf.tangoatk.core.NumberProperty

public class NumberProperty
extends Property


Field Summary
 
Fields inherited from class fr.esrf.tangoatk.core.Property
editable, name, oldValue, parent, propChanges, specified, value
 
Constructor Summary
NumberProperty(IEntity parent, java.lang.String name, java.lang.Number value, boolean editable)
           
 
Method Summary
 java.lang.String getVersion()
           
 void setValue(java.lang.Number n)
           
 void setValueFromString(java.lang.String stringValue)
          Transforms a String into the right corresponding Object to set the value of the Property
 
Methods inherited from class fr.esrf.tangoatk.core.Property
addPresentationListener, getIntValue, getName, getPresentation, getStringValue, getValue, isEditable, isSpecified, refresh, removePresentationListener, setName, setSpecified, setValue, store, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumberProperty

public NumberProperty(IEntity parent,
                      java.lang.String name,
                      java.lang.Number value,
                      boolean editable)
Method Detail

setValue

public void setValue(java.lang.Number n)

getVersion

public java.lang.String getVersion()
Overrides:
getVersion in class Property

setValueFromString

public void setValueFromString(java.lang.String stringValue)
Description copied from class: Property
Transforms a String into the right corresponding Object to set the value of the Property

Overrides:
setValueFromString in class Property
Parameters:
stringValue - The String to transform. This String should look like what getPresentation() can return
See Also:
Property.setValue(Object), Property.getPresentation()