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

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.CellComponentUtils

public class CellComponentUtils
extends java.lang.Object

Common utilities for cell components.

Author:
Jonathan Kaplan

Constructor Summary
CellComponentUtils()
           
 
Method Summary
static java.lang.Class getLookupClass(java.lang.Class clazz)
          Return the class used to reference this component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellComponentUtils

public CellComponentUtils()
Method Detail

getLookupClass

public static java.lang.Class getLookupClass(java.lang.Class clazz)
Return the class used to reference this component. Usually this will return the class of the component, but in some cases, will return another Class. This method uses the ComponentClassLookup annotation on the cell component to determine this class; if not present just returns the Class given.

Parameters:
clazz - The Class of the component
Returns:
The Class used in the component lookup table


Open Wonderland - http://openwonderland.org