com.tensegrity.composite.event.view
Class ViewSelectionChangeEvent

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

public class ViewSelectionChangeEvent
extends AbstractCompositeViewEvent

A ViewSelectionChangeEvent occurs whenever the selection within a CompositeView has been changed.

Version:
$Id: ViewSelectionChangeEvent.java,v 1.6 2005/05/06 06:26:04 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
CompositeViewEvent, CompositeViewListener

Field Summary
 
Fields inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent
composite, composites, compositeView
 
Constructor Summary
ViewSelectionChangeEvent(CompositeView compositeView, java.util.List selection)
          Constructor for ViewSelectionChangeEvent.
 
Method Summary
 java.util.List getComposites()
          Returns a List containing all selected Composites involved in this event.
 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

ViewSelectionChangeEvent

public ViewSelectionChangeEvent(CompositeView compositeView,
                                java.util.List selection)
Constructor for ViewSelectionChangeEvent.

Parameters:
compositeView - the CompositeView for which the selection has been changed
selection - a List of the newly selected Interactables
Method Detail

getComposites

public java.util.List getComposites()
Returns a List containing all selected Composites involved in this event.

Returns:
a List with all selected Composites.

toString

public java.lang.String toString()


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