Class DefaultComponentDelegate
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.AbstractSerializationDelegate<Object>
com.inductiveautomation.ignition.common.xmlserialization.serialization.DefaultObjectSerializationDelegate
com.inductiveautomation.factorypmi.designer.xmlserialization.DefaultComponentDelegate
- All Implemented Interfaces:
- SerializationDelegate<Object>
- Direct Known Subclasses:
- BasicContainerDelegate,- TableDelegate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]protected Class[]Fields 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 ElementserializeComponentCommons(XMLSerializationContext context, 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, 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, serialize, serializeConstructor, setConstructorOnly, setSkipReferenceTracking, startObject, writeCall, writeCall, writeConstructor
- 
Field Details- 
putClientProperty
- 
bool
- 
integer
- 
string
- 
treeMap
- 
dim
- 
rect
- 
rect2d
- 
dataSet
- 
color
- 
border
- 
cursor
- 
ignore
 
- 
- 
Constructor Details- 
DefaultComponentDelegatepublic DefaultComponentDelegate()
 
- 
- 
Method Details- 
serializeComponentCommonsprotected Element serializeComponentCommons(XMLSerializationContext context, 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, JComponent comp, List<String> propsToSerialize) throws SerializationException Serialized all of the "client properties" contained in the CLIENT_PROPS list for a component- Throws:
- SerializationException
 
- 
isTransient- Overrides:
- isTransientin class- DefaultObjectSerializationDelegate
 
- 
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
 
 
-