edu.uci.ics.jung.utils
Class UserDataContainer.CopyAction.Shared
java.lang.Object
edu.uci.ics.jung.utils.UserDataContainer.CopyAction.Shared
- All Implemented Interfaces:
- UserDataContainer.CopyAction
- Enclosing interface:
- UserDataContainer.CopyAction
public static class UserDataContainer.CopyAction.Shared
- extends Object
- implements UserDataContainer.CopyAction
Implements UserData.SHARED
- Author:
- danyelf
- See Also:
UserData.SHARED
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserDataContainer.CopyAction.Shared
public UserDataContainer.CopyAction.Shared()
onCopy
public Object onCopy(Object value,
UserDataContainer source,
UserDataContainer target)
- Description copied from interface:
UserDataContainer.CopyAction
- The callback triggered when a UserDatum is copied. Implement this
method to create your own CopyAction.
- Specified by:
onCopy
in interface UserDataContainer.CopyAction
- Parameters:
value
- The item of UserData that is being copiedsource
- The UserDataContainer that holds this datumtarget
- The UserDataContainer that will hold the new datum
- Returns:
- Object The copy of the UserData