com.tensegrity.composite.event.view
Class ViewAddCompositesEvent

java.lang.Object
  extended bycom.tensegrity.composite.event.view.AbstractCompositeViewEvent
      extended bycom.tensegrity.composite.event.view.ViewAddCompositesEvent
All Implemented Interfaces:
CompositeRootEvent, CompositeViewEvent

public class ViewAddCompositesEvent
extends AbstractCompositeViewEvent

A ViewAddCompositesEvent occurs whenever a list of Composites has been added to a CompositeView.

Version:
$Id: ViewAddCompositesEvent.java,v 1.5 2004/03/01 15:03:44 AndreasEbbert Exp $
Author:
MichaelKegel
See Also:
CompositeViewEvent, CompositeViewListener

Field Summary
 
Fields inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent
composite, composites, compositeView
 
Constructor Summary
ViewAddCompositesEvent(CompositeView compositeView, java.util.List composites)
          Constructor specifying the CompositeView and the added Composites.
 
Method Summary
 java.util.List getComposites()
          Returns a List with the Composites that have been added to the CompositeView.
 java.lang.String toString()
           
 
Methods inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent
getCompositeView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewAddCompositesEvent

public ViewAddCompositesEvent(CompositeView compositeView,
                              java.util.List composites)
Constructor specifying the CompositeView and the added Composites.

Parameters:
compositeView - the CompositeView where Composites have been added.
composites - a list holding the added Composites.
Method Detail

getComposites

public java.util.List getComposites()
Returns a List with the Composites that have been added to the CompositeView.

Returns:
List the added Composite

toString

public java.lang.String toString()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.