org.jdesktop.wonderland.client.cell
Class CellComponent

java.lang.Object
  extended by org.jdesktop.wonderland.client.cell.CellComponent
Direct Known Subclasses:
CellPhysicsPropertiesComponent, ChannelComponent, ContextMenuComponent, InteractionComponent, ModelCellComponent, MovableComponent, ProximityComponent

public class CellComponent
extends java.lang.Object

CellComponents provide dynamic extensions to the Cell infrastructure.

Author:
paulby

Field Summary
protected  Cell cell
           
protected  CellStatus status
           
 
Constructor Summary
CellComponent(Cell cell)
           
 
Method Summary
 void setClientState(CellComponentClientState clientState)
          Sets the client state of the cell components.
protected  void setStatus(CellStatus status, boolean increasing)
          Set the status of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

protected Cell cell

status

protected CellStatus status
Constructor Detail

CellComponent

public CellComponent(Cell cell)
Method Detail

setStatus

protected void setStatus(CellStatus status,
                         boolean increasing)
Set the status of the component. This method is overridden by subclasses of cell component. However, if you wish to set the status of a cell component, invoke setComponentStatus() instead.

Parameters:
status - The new status of the component

setClientState

public void setClientState(CellComponentClientState clientState)
Sets the client state of the cell components.

Parameters:
clientState - The client state of the cell component


Open Wonderland - http://openwonderland.org