org.jdesktop.wonderland.common.cell.messages
Class CellReparentMessage

java.lang.Object
  extended by org.jdesktop.wonderland.common.messages.Message
      extended by org.jdesktop.wonderland.common.cell.messages.CellEditMessage
          extended by org.jdesktop.wonderland.common.cell.messages.CellReparentMessage
All Implemented Interfaces:
java.io.Serializable

public class CellReparentMessage
extends CellEditMessage

Message sent to change the parent of a cell.

Author:
Jordan Slott
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.wonderland.common.cell.messages.CellEditMessage
CellEditMessage.EditType
 
Constructor Summary
CellReparentMessage(CellID cellID, CellID parentCellID, CellTransform childTransform)
          Create a reparent message to the given cellID of the cell and its new parent.
 
Method Summary
 CellID getCellID()
          Returns the ID of the cell.
 CellTransform getChildCellTransform()
          Return the new child transform, can be null
 CellID getParentCellID()
          Returns the ID of the cell of the parent
 
Methods inherited from class org.jdesktop.wonderland.common.cell.messages.CellEditMessage
getEditType, setEditType
 
Methods inherited from class org.jdesktop.wonderland.common.messages.Message
getMessageID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellReparentMessage

public CellReparentMessage(CellID cellID,
                           CellID parentCellID,
                           CellTransform childTransform)
Create a reparent message to the given cellID of the cell and its new parent.

Parameters:
cellID - the id of the cell
parentID - the id of the new parent cell
Method Detail

getCellID

public CellID getCellID()
Returns the ID of the cell.

Returns:
the cellID

getParentCellID

public CellID getParentCellID()
Returns the ID of the cell of the parent

Returns:
the parent cellID

getChildCellTransform

public CellTransform getChildCellTransform()
Return the new child transform, can be null

Returns:


Open Wonderland - http://openwonderland.org