org.jdesktop.wonderland.client.scenemanager.event
Class SelectionEvent

java.lang.Object
  extended by org.jdesktop.wonderland.client.input.Event
      extended by org.jdesktop.wonderland.client.scenemanager.event.SceneEvent
          extended by org.jdesktop.wonderland.client.scenemanager.event.SelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class SelectionEvent
extends SceneEvent

Event when a selection action has been taken for an Entity or a set of Entities. The ordered list of Entities selected is obtained via the getEntityList() method on the SceneEvent superclass.

Author:
Jordan Slott
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdesktop.wonderland.client.input.Event
entity, EVENT_CLASS_ID, isFocussed
 
Constructor Summary
SelectionEvent()
          Default constructor
SelectionEvent(java.util.List<org.jdesktop.mtgame.Entity> entities)
          Constructor, takes the list of Enitities of the context event.
 
Method Summary
 Event clone(Event event)
          Copy the members of this class into the given event.
 
Methods inherited from class org.jdesktop.wonderland.client.scenemanager.event.SceneEvent
getCellForEntity, getEntityList, getPrimaryCell, getPrimaryEntity
 
Methods inherited from class org.jdesktop.wonderland.client.input.Event
allocateEventClassID, free, getClassID, getEntity, isFocussed, setEntity, setFocussed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionEvent

public SelectionEvent()
Default constructor


SelectionEvent

public SelectionEvent(java.util.List<org.jdesktop.mtgame.Entity> entities)
Constructor, takes the list of Enitities of the context event.

Method Detail

clone

public Event clone(Event event)
Copy the members of this class into the given event.
If event is null, a new event of this class is created and returned.
If event is null, a new event of this class is created and returned.

Overrides:
clone in class SceneEvent


Open Wonderland - http://openwonderland.org