com.ibm.aglet.event
Class CloneAdapter

java.lang.Object
  |
  +--com.ibm.aglet.event.CloneAdapter
All Implemented Interfaces:
CloneListener, java.util.EventListener, java.io.Serializable

public class CloneAdapter
extends java.lang.Object
implements CloneListener

The adapter which receives clone events. This class is provided as convenience for easily creating listerns by extending this class and overriding only the methods of interest.

Version:
1.00 $Date: 2001/07/28 06:34:09 $
Author:
Misturu Oshima
See Also:
Serialized Form

Constructor Summary
CloneAdapter()
           
 
Method Summary
 void onClone(CloneEvent event)
          Invoked after an aglet was cloned.
 void onCloned(CloneEvent event)
          Invoked after an aglet was cloned.
 void onCloning(CloneEvent event)
          Invoked when an aglet is attempted to clone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneAdapter

public CloneAdapter()
Method Detail

onClone

public void onClone(CloneEvent event)
Invoked after an aglet was cloned. This is delivered to the cloned aglet.
Specified by:
onClone in interface CloneListener

onCloned

public void onCloned(CloneEvent event)
Invoked after an aglet was cloned. This is delivered to the original aglet.
Specified by:
onCloned in interface CloneListener

onCloning

public void onCloning(CloneEvent event)
Invoked when an aglet is attempted to clone
Specified by:
onCloning in interface CloneListener