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