fr.esrf.tangoatk.core
Class DisplayLevelProperty
java.lang.Object
fr.esrf.tangoatk.core.Property
fr.esrf.tangoatk.core.DisplayLevelProperty
public class DisplayLevelProperty
- extends Property
|
Field Summary |
static java.lang.String |
EXPERT
|
static java.lang.String |
OPERATOR
|
|
Method Summary |
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 |
| Methods inherited from class fr.esrf.tangoatk.core.Property |
addPresentationListener, 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 |
OPERATOR
public static final java.lang.String OPERATOR
- See Also:
- Constant Field Values
EXPERT
public static final java.lang.String EXPERT
- See Also:
- Constant Field Values
DisplayLevelProperty
public DisplayLevelProperty(IEntity parent,
java.lang.String name,
fr.esrf.Tango.DispLevel 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
isOperator
public boolean isOperator()
isExpert
public boolean isExpert()
getIntValue
public int getIntValue()
- Description copied from class:
Property
getIntValue returns the value of the property as an
int.
- Overrides:
getIntValue in class Property
- Returns:
- an
int 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()