public class StringProperty extends Property
Constructor and Description |
---|
StringProperty(IEntity parent,
java.lang.String name,
java.lang.String value,
boolean editable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVersion() |
void |
setValue(java.lang.String s) |
void |
setValueFromString(java.lang.String stringValue)
Transforms a String into the right corresponding Object to set the value
of the Property
|
addPresentationListener, getIntValue, getName, getPresentation, getStringValue, getValue, isEditable, isSpecified, refresh, removePresentationListener, setName, setSpecified, setValue, store, toString
public StringProperty(IEntity parent, java.lang.String name, java.lang.String value, boolean editable)
public void setValue(java.lang.String s)
public java.lang.String getVersion()
getVersion
in class Property
public void setValueFromString(java.lang.String stringValue)
Property
setValueFromString
in class Property
stringValue
- The String to transform. This String should look like what
getPresentation() can returnProperty.setValue(Object)
,
Property.getPresentation()