public class DisplayLevelProperty extends Property
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPERT |
static java.lang.String |
OPERATOR |
Constructor and Description |
---|
DisplayLevelProperty(IEntity parent,
java.lang.String name,
fr.esrf.Tango.DispLevel value,
boolean editable) |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
getIntValue returns the value of the property as an
int. |
java.lang.String |
getPresentation()
getPresentation returns a nicely formated
String representation of this property. |
java.lang.String |
getVersion() |
boolean |
isExpert() |
boolean |
isOperator() |
void |
setValueFromString(java.lang.String stringValue)
Transforms a String into the right corresponding Object to set the value
of the Property
|
addPresentationListener, getName, getStringValue, getValue, isEditable, isSpecified, refresh, removePresentationListener, setName, setSpecified, setValue, store, toString
public static final java.lang.String OPERATOR
public static final java.lang.String EXPERT
public DisplayLevelProperty(IEntity parent, java.lang.String name, fr.esrf.Tango.DispLevel value, boolean editable)
public java.lang.String getPresentation()
Property
getPresentation
returns a nicely formated
String
representation of this property. To be used by
the widgets that show the value of this property.getPresentation
in class Property
String
valuepublic boolean isOperator()
public boolean isExpert()
public int getIntValue()
Property
getIntValue
returns the value of the property as an
int.getIntValue
in class Property
int
valuepublic 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()