Package adams.data.conversion
Class AbstractSwapObject.SwapObserver
- java.lang.Object
-
- adams.data.conversion.AbstractSwapObject.SwapObserver
-
- All Implemented Interfaces:
PropertyTraversal.Observer
- Enclosing class:
- AbstractSwapObject
protected static class AbstractSwapObject.SwapObserver extends Object implements PropertyTraversal.Observer
Observer that performs the swapping of the objects.
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractSwapObject
m_Owner
the owner.
-
Constructor Summary
Constructors Constructor Description SwapObserver(AbstractSwapObject owner)
Initializes the observer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.
-
-
-
Field Detail
-
m_Owner
protected AbstractSwapObject m_Owner
the owner.
-
-
Constructor Detail
-
SwapObserver
public SwapObserver(AbstractSwapObject owner)
Initializes the observer.- Parameters:
owner
- the owning conversion
-
-
Method Detail
-
observe
public void observe(PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observe
in interfacePropertyTraversal.Observer
- Parameters:
path
- the pathdesc
- the property descriptorparent
- the parent objectchild
- the child object
-
-