Class DefaultComponentDelegate
- 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.DefaultComponentDelegate
 
 
 
- 
- All Implemented Interfaces:
- SerializationDelegate<java.lang.Object>
 - Direct Known Subclasses:
- BasicContainerDelegate,- TableDelegate
 
 public class DefaultComponentDelegate extends DefaultObjectSerializationDelegate 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Class[]boolprotected java.lang.Class[]borderprotected java.lang.Class[]colorprotected java.lang.Class[]cursorprotected java.lang.Class[]dataSetprotected java.lang.Class[]dimprotected java.util.Set<java.lang.String>ignoreprotected java.lang.Class[]integerprotected java.lang.Class[]putClientPropertyprotected java.lang.Class[]rectprotected java.lang.Class[]rect2dprotected java.lang.Class[]stringprotected java.lang.Class[]treeMap- 
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegateelementName, equalityDelegates, propertyComparator, skipReferenceTracking, TRANSIENT_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description DefaultComponentDelegate()
 - 
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 ElementserializeComponentCommons(XMLSerializationContext context, javax.swing.JComponent comp)Adds a special <c-comm> element that has the component's preferred size, bounds, name, and layout constraints.protected 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.- 
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegatedoProperty, initConstructorTypes, isConstructorOnly, isSkipReferenceTracking, safeArrayEquals, safeEquals, serialize, serializeConstructor, setConstructorOnly, setSkipReferenceTracking, startObject, writeCall, writeCall, writeConstructor
 
- 
 
- 
- 
- 
Field Detail- 
putClientPropertyprotected java.lang.Class[] putClientProperty 
 - 
boolprotected java.lang.Class[] bool 
 - 
integerprotected java.lang.Class[] integer 
 - 
stringprotected java.lang.Class[] string 
 - 
treeMapprotected java.lang.Class[] treeMap 
 - 
dimprotected java.lang.Class[] dim 
 - 
rectprotected java.lang.Class[] rect 
 - 
rect2dprotected java.lang.Class[] rect2d 
 - 
dataSetprotected java.lang.Class[] dataSet 
 - 
colorprotected java.lang.Class[] color 
 - 
borderprotected java.lang.Class[] border 
 - 
cursorprotected java.lang.Class[] cursor 
 - 
ignoreprotected java.util.Set<java.lang.String> ignore 
 
- 
 - 
Method Detail- 
serializeComponentCommonsprotected Element serializeComponentCommons(XMLSerializationContext context, javax.swing.JComponent comp) throws SerializationException Adds a special <c-comm> element that has the component's preferred size, bounds, name, and layout constraints.- 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
 
 - 
isTransientprotected boolean isTransient(java.beans.PropertyDescriptor pd) - Overrides:
- isTransientin class- DefaultObjectSerializationDelegate
 
 - 
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
 
 
- 
 
-