|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface UserDataContainer.CopyAction
Decides what to do when a user datum is copied. Some of the more common responses might include returning null, returning the object, or returning a clone of the object.
Nested Class Summary | |
---|---|
static class |
UserDataContainer.CopyAction.Clone
Implements UserData.CLONE |
static class |
UserDataContainer.CopyAction.Remove
Implements UserData.REMOVE |
static class |
UserDataContainer.CopyAction.Shared
Implements UserData.SHARED |
Method Summary | |
---|---|
Object |
onCopy(Object value,
UserDataContainer source,
UserDataContainer target)
The callback triggered when a UserDatum is copied. |
Method Detail |
---|
Object onCopy(Object value, UserDataContainer source, UserDataContainer target)
value
- The item of UserData that is being copiedsource
- The UserDataContainer that holds this datumtarget
- The UserDataContainer that will hold the new datum
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |