fr.esrf.tangoatk.core
Class WritableProperty
java.lang.Object
fr.esrf.tangoatk.core.Property
fr.esrf.tangoatk.core.WritableProperty
public class WritableProperty
- extends Property
|
Constructor Summary |
WritableProperty(IAttribute parent,
java.lang.String name,
fr.esrf.Tango.AttrWriteType 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 |
WritableProperty
public WritableProperty(IAttribute parent,
java.lang.String name,
fr.esrf.Tango.AttrWriteType value,
boolean editable)
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()