Class ComplexDataProperty
java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<AbstractComplexData>
org.csstudio.opibuilder.properties.ComplexDataProperty
A property that can hold data with multiple properties.
- 
Field SummaryFieldsFields inherited from class org.csstudio.opibuilder.properties.AbstractWidgetPropertycategory, defaultValue, description, executionMode, prop_id, propertyValue, visibleInPropSheet, widgetModel
- 
Constructor SummaryConstructorsConstructorDescriptionComplexDataProperty(String prop_id, String description, WidgetPropertyCategory category, AbstractComplexData defaultData, String dialogTitle) Widget Property Constructor
- 
Method SummaryModifier and TypeMethodDescriptioncheckValue(Object value) Check if the requestNewValue is convertible or legal.protected PropertyDescriptorCreate theIPropertyDescriptorreadValueFromXML(org.jdom2.Element propElement) Read the property value from a XML element.voidsetWidgetModel(AbstractWidgetModel widgetModel) voidwriteToXML(org.jdom2.Element propElement) Write the property value into a XML element.Methods inherited from class org.csstudio.opibuilder.properties.AbstractWidgetPropertyaddPropertyChangeListener, configurableByRule, firePropertyChange, getAllPropertyChangeListeners, getCategory, getDefaultValue, getDescription, getExecutionMode, getPropertyDescriptor, getPropertyID, getPropertyValue, getRawPropertyValue, isDefaultValue, isSavable, isVisibleInPropSheet, onlyAcceptExpressionInRule, removeAllPropertyChangeListeners, removePropertyChangeListener, setCategory, setDefaultValue, setDescription, setExecutionMode, setPropertyValue, setPropertyValue, setPropertyValue_IgnoreOldValue, setSavable, setVisibleInPropSheet, toString, toStringInRuleScript
- 
Field Details- 
XML_ATTRIBUTE_TYPE- See Also:
 
 
- 
- 
Constructor Details- 
ComplexDataPropertypublic ComplexDataProperty(String prop_id, String description, WidgetPropertyCategory category, AbstractComplexData defaultData, String dialogTitle) Widget Property Constructor- Parameters:
- prop_id- the property id which should be unique in a widget model.
- description- the description of the property, which will be shown as the property name in property sheet.
- category- the category of the widget.
- defaultData- default value. It cannot be null.
- dialogTitle- title of the dialog for editing the complex data.
 
 
- 
- 
Method Details- 
checkValueDescription copied from class:AbstractWidgetPropertyCheck if the requestNewValue is convertible or legal.- Specified by:
- checkValuein class- AbstractWidgetProperty<AbstractComplexData>
- Parameters:
- value- the value to be checked.
- Returns:
- The value after being checked. It might be coerced if the requestValue is illegal. return null if it is not convertible or illegal.
 
- 
createPropertyDescriptorDescription copied from class:AbstractWidgetPropertyCreate theIPropertyDescriptor- Specified by:
- createPropertyDescriptorin class- AbstractWidgetProperty<AbstractComplexData>
 
- 
readValueFromXMLDescription copied from class:AbstractWidgetPropertyRead the property value from a XML element.- Specified by:
- readValueFromXMLin class- AbstractWidgetProperty<AbstractComplexData>
 
- 
writeToXMLpublic void writeToXML(org.jdom2.Element propElement) Description copied from class:AbstractWidgetPropertyWrite the property value into a XML element.- Specified by:
- writeToXMLin class- AbstractWidgetProperty<AbstractComplexData>
 
- 
setWidgetModel- Overrides:
- setWidgetModelin class- AbstractWidgetProperty<AbstractComplexData>
 
 
-