gov.sandia.ccaffeine.dc.user_iface.MVC.event
Class ComponentInstancesEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.sandia.ccaffeine.dc.user_iface.MVC.event.ComponentInstancesEvent
All Implemented Interfaces:
java.io.Serializable

public class ComponentInstancesEvent
extends java.util.EventObject

used to transfer components from one entity to another entity

See Also:
Serialized Form

Field Summary
protected  CcaComponent[] ccaComponents
          Get the components
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ComponentInstancesEvent(java.lang.Object source)
          Create a ComponentInstanceEvent.
ComponentInstancesEvent(java.lang.Object source, CcaComponent[] ccaComponents)
          Create a ComponentInstanceEvent.
 
Method Summary
 CcaComponent[] getComponents()
          get the components
 void setComponents(CcaComponent[] ccaComponents)
          set the components
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ccaComponents

protected CcaComponent[] ccaComponents
Get the components

Constructor Detail

ComponentInstancesEvent

public ComponentInstancesEvent(java.lang.Object source)
Create a ComponentInstanceEvent.

Parameters:
source - The entity that originated this event.

ComponentInstancesEvent

public ComponentInstancesEvent(java.lang.Object source,
                               CcaComponent[] ccaComponents)
Create a ComponentInstanceEvent.

Parameters:
source - The entity that originated this event.
ccaComponents - the components
Method Detail

getComponents

public CcaComponent[] getComponents()
get the components

Returns:
The retrieved components

setComponents

public void setComponents(CcaComponent[] ccaComponents)
set the components

Parameters:
ccaComponents - The components