Class ShapeComponentDelegate
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.xmlserialization.serialization.AbstractSerializationDelegate<java.lang.Object>
- 
- com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
- 
- com.inductiveautomation.factorypmi.designer.xmlserialization.ShapeComponentDelegate
 
 
 
- 
- All Implemented Interfaces:
- SerializationDelegate<java.lang.Object>
 
 public class ShapeComponentDelegate extends DefaultObjectSerializationDelegate 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.Set<java.lang.String>ignoreprotected java.lang.Class[]putClientProperty- 
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegateelementName, equalityDelegates, propertyComparator, skipReferenceTracking, TRANSIENT_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description ShapeComponentDelegate()ShapeComponentDelegate(boolean ctorOnly, java.lang.String... properties)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisTransient(java.beans.PropertyDescriptor pd)protected voidserializeClientProperties(XMLSerializationContext context, Element elm, javax.swing.JComponent comp, java.util.List<java.lang.String> propsToSerialize)Serialized all of the "client properties" contained in the CLIENT_PROPS list for a componentprotected voidserializeProperties(XMLSerializationContext context, Element elm, java.lang.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, java.lang.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, safeArrayEquals, safeEquals, serialize, serializeConstructor, setConstructorOnly, setSkipReferenceTracking, writeCall, writeCall, writeConstructor
 
- 
 
- 
- 
- 
Method Detail- 
isTransientprotected boolean isTransient(java.beans.PropertyDescriptor pd) - Overrides:
- isTransientin class- DefaultObjectSerializationDelegate
 
 - 
startObjectprotected Element startObject(XMLSerializationContext context, java.lang.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, javax.swing.JComponent comp, java.util.List<java.lang.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, java.lang.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
 
 
- 
 
-