fr.esrf.tangoatk.core
Class FormatProperty

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

public class FormatProperty
extends Property


Field Summary
 
Fields inherited from class fr.esrf.tangoatk.core.Property
editable, name, oldValue, parent, propChanges, specified, value
 
Constructor Summary
FormatProperty(IAttribute parent, java.lang.String name, fr.esrf.Tango.AttrDataFormat value, boolean editable)
           
 
Method Summary
 java.lang.String getPresentation()
          getPresentation returns a nicely formated String representation of this property.
 java.lang.String getVersion()
           
 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, 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

FormatProperty

public FormatProperty(IAttribute parent,
                      java.lang.String name,
                      fr.esrf.Tango.AttrDataFormat value,
                      boolean editable)
Method Detail

getPresentation

public java.lang.String getPresentation()
Description copied from class: Property
getPresentation returns a nicely formated String representation of this property. To be used by the widgets that show the value of this property.

Overrides:
getPresentation in class Property
Returns:
a String value

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()