public class ShapeComponentDelegate extends DefaultObjectSerializationDelegate
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
ignore |
protected java.lang.Class[] |
putClientProperty |
elementName, equalityDelegates, propertyComparator, skipReferenceTracking, TRANSIENT_KEY
Constructor and Description |
---|
ShapeComponentDelegate() |
ShapeComponentDelegate(boolean ctorOnly,
java.lang.String... properties) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isTransient(java.beans.PropertyDescriptor pd) |
protected void |
serializeClientProperties(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 component
|
protected void |
serializeProperties(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 Element |
startObject(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.
|
doProperty, initConstructorTypes, isConstructorOnly, isSkipReferenceTracking, safeArrayEquals, safeEquals, serialize, serializeConstructor, setConstructorOnly, setSkipReferenceTracking, writeCall, writeCall, writeConstructor
protected java.lang.Class[] putClientProperty
protected java.util.Set<java.lang.String> ignore
public ShapeComponentDelegate(boolean ctorOnly, java.lang.String... properties)
public ShapeComponentDelegate()
protected boolean isTransient(java.beans.PropertyDescriptor pd)
isTransient
in class DefaultObjectSerializationDelegate
protected Element startObject(XMLSerializationContext context, java.lang.Object obj) throws SerializationException
DefaultObjectSerializationDelegate
startObject
in class DefaultObjectSerializationDelegate
SerializationException
protected void serializeClientProperties(XMLSerializationContext context, Element elm, javax.swing.JComponent comp, java.util.List<java.lang.String> propsToSerialize) throws SerializationException
SerializationException
protected void serializeProperties(XMLSerializationContext context, Element elm, java.lang.Object obj) throws SerializationException
DefaultObjectSerializationDelegate
serializeProperties
in class DefaultObjectSerializationDelegate
SerializationException