@FunctionalInterface
public interface CopyListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
copy(java.lang.Object target,
java.beans.PropertyDescriptor targetDescriptor,
java.lang.Object owner,
java.beans.PropertyDescriptor ownerDescriptor) |
boolean copy(java.lang.Object target,
java.beans.PropertyDescriptor targetDescriptor,
java.lang.Object owner,
java.beans.PropertyDescriptor ownerDescriptor)
throws java.beans.PropertyVetoException
target - the target to be copiedtargetDescriptor - The PropertyDescriptor of the property to be copied.
Typically, one may use its write method to set the targetowner - The owner which has the properties to be copied over to the target.ownerDescriptor - The PropertyDescriptor of the owner's property to be copied over to the target.
One may use its read method to retrieve the property's value.java.beans.PropertyVetoException - veto exception