org.jdesktop.wonderland.common.cell.state
Class CellClientState

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.CellClientState
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ModelCellClientState, ViewCellClientState

public class CellClientState
extends java.lang.Object
implements java.io.Serializable

The CellClientState class is the base class of all state information communicated between the client and Darkstar server nodes.

Author:
Jordan Slott
See Also:
Serialized Form

Constructor Summary
CellClientState()
           
 
Method Summary
 void addClientComponentClasses(java.lang.String[] cellComponenClasses)
          Set the CellComponent class names that will be installed in the client cell
 void addClientComponentClasses(java.lang.String clientClass, CellComponentClientState clientState)
          Add a client component class to the set of components
 CellComponentClientState getCellComponentClientState(java.lang.String className)
          Returns the client state for the given cell component class name, or null if the class name is not present
 java.lang.String[] getClientComponentClasses()
          Returns the class names of all the client CellComponents which should be added to the cell at config time
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellClientState

public CellClientState()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getClientComponentClasses

public java.lang.String[] getClientComponentClasses()
Returns the class names of all the client CellComponents which should be added to the cell at config time

Returns:

getCellComponentClientState

public CellComponentClientState getCellComponentClientState(java.lang.String className)
Returns the client state for the given cell component class name, or null if the class name is not present

Parameters:
className - The name of the client component class
Returns:
The cell component client state object, or null

addClientComponentClasses

public void addClientComponentClasses(java.lang.String[] cellComponenClasses)
Set the CellComponent class names that will be installed in the client cell

Parameters:
cellComponenClasses - the array of class names for client CellComponents

addClientComponentClasses

public void addClientComponentClasses(java.lang.String clientClass,
                                      CellComponentClientState clientState)
Add a client component class to the set of components

Parameters:
clientClass - The name of the client component class
clientState - The client component state


Open Wonderland - http://openwonderland.org