Class aglet.event.CloneEvent
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aglet.event.CloneEvent

java.lang.Object
   |
   +----aglet.event.AgletEvent
           |
           +----aglet.event.CloneEvent

public class CloneEvent
extends AgletEvent
The clon event occurs when the cloning of an aglet is attempted.

Variable Index

 o AGLET_CLONE_FIRST
Marks the first integer id for the range of clone event ids.
 o AGLET_CLONE_LAST
Marks the last integer id for the range of clone event ids.
 o CLONE
The CLONE event type is delivered when the clone of the aglet is created.
 o CLONED
The CLONED event type is delivered after the cloning of the aglet finished.
 o CLONING
The CLONING event type is delivered when the aglet is attempted to clone.

Constructor Index

 o CloneEvent(int, AgletProxy)
Constructs the clone event object with the specified id and aglet

Method Index

 o getAgletProxy()
Returns the aglet proxy which is the source of the event.
 o toString()

Variables

 o AGLET_CLONE_FIRST
  public final static int AGLET_CLONE_FIRST
Marks the first integer id for the range of clone event ids.
 o AGLET_CLONE_LAST
  public final static int AGLET_CLONE_LAST
Marks the last integer id for the range of clone event ids.
 o CLONING
  public final static int CLONING
The CLONING event type is delivered when the aglet is attempted to clone.
 o CLONE
  public final static int CLONE
The CLONE event type is delivered when the clone of the aglet is created. Note that this event is delivered only to the cloned object but not to the original.
 o CLONED
  public final static int CLONED
The CLONED event type is delivered after the cloning of the aglet finished. Note that this event is delivered only to the original aglet.

Constructors

 o CloneEvent
  public CloneEvent(int id,
                    AgletProxy aglet)
Constructs the clone event object with the specified id and aglet

Methods

 o getAgletProxy
  public AgletProxy getAgletProxy()
Returns the aglet proxy which is the source of the event.
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index