Class ShapeComponentDelegate
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.AbstractSerializationDelegate<Object>
com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
com.inductiveautomation.factorypmi.designer.xmlserialization.ShapeComponentDelegate
- All Implemented Interfaces:
- SerializationDelegate<Object>
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegateelementName, propertyComparator, skipReferenceTracking, TRANSIENT_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanprotected voidserializeClientProperties(XMLSerializationContext context, Element elm, JComponent comp, List<String> propsToSerialize) Serialized all of the "client properties" contained in the CLIENT_PROPS list for a componentprotected voidserializeProperties(XMLSerializationContext context, Element elm, Object obj) Runs through the javabean properties of the given object, and comares the values of each property to the value that a clean copy of the object would have.protected ElementstartObject(XMLSerializationContext context, Object obj) Creates an Element with this delegate's element name and with the "cls" attribute set to the object's class.Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegatedoProperty, initConstructorTypes, isConstructorOnly, isSkipReferenceTracking, serialize, serializeConstructor, setConstructorOnly, setSkipReferenceTracking, writeCall, writeCall, writeConstructor
- 
Field Details- 
putClientProperty
- 
ignore
 
- 
- 
Constructor Details- 
ShapeComponentDelegate
- 
ShapeComponentDelegatepublic ShapeComponentDelegate()
 
- 
- 
Method Details- 
isTransient- Overrides:
- isTransientin class- DefaultObjectSerializationDelegate
 
- 
startObjectprotected Element startObject(XMLSerializationContext context, Object obj) throws SerializationException Description copied from class:DefaultObjectSerializationDelegateCreates an Element with this delegate's element name and with the "cls" attribute set to the object's class.- Overrides:
- startObjectin class- DefaultObjectSerializationDelegate
- Throws:
- SerializationException
 
- 
serializeClientPropertiesprotected void serializeClientProperties(XMLSerializationContext context, Element elm, JComponent comp, List<String> propsToSerialize) throws SerializationException Serialized all of the "client properties" contained in the CLIENT_PROPS list for a component- Throws:
- SerializationException
 
- 
serializePropertiesprotected void serializeProperties(XMLSerializationContext context, Element elm, Object obj) throws SerializationException Description copied from class:DefaultObjectSerializationDelegateRuns through the javabean properties of the given object, and comares the values of each property to the value that a clean copy of the object would have. Serializes all properties that have a dirty value.- Overrides:
- serializePropertiesin class- DefaultObjectSerializationDelegate
- Throws:
- SerializationException
 
 
-