org.jdesktop.wonderland.client.cell.view
Class AvatarCell

java.lang.Object
  extended by org.jdesktop.wonderland.client.cell.Cell
      extended by org.jdesktop.wonderland.client.cell.view.ViewCell
          extended by org.jdesktop.wonderland.client.cell.view.AvatarCell

public class AvatarCell
extends ViewCell

A cell representing the users avatar

Author:
paulby

Nested Class Summary
static interface AvatarCell.AvatarActionTrigger
          Temporary interface, used to expose the IMI actions until we uplevel them
 
Nested classes/interfaces inherited from class org.jdesktop.wonderland.client.cell.Cell
Cell.RendererType
 
Field Summary
 
Fields inherited from class org.jdesktop.wonderland.client.cell.Cell
logger
 
Constructor Summary
AvatarCell(CellID cellID, CellCache cellCache)
           
 
Method Summary
protected  CellRenderer createCellRenderer(Cell.RendererType rendererType)
          Create the renderer for this cell
 boolean isSelectedForInput()
           
 void setClientState(CellClientState cellClientState)
          Called when the cell is initially created and any time there is a major configuration change.
 void setSelectedForInput(boolean selectedForInput)
           
 void triggerAction(int trigger, boolean pressed, java.lang.String animationName)
          TODO this is a temporary interface for handling avatar actions, need to uplevel
 void triggerCollision(float height, boolean collision)
          TODO is a temporary interface for handling avatar actions, need to uplevel
 void triggerGoto(com.jme.math.Vector3f worldPosition, com.jme.math.Quaternion look)
          TODO this is a temporary interface for handling avatar goto, need to uplevel
 
Methods inherited from class org.jdesktop.wonderland.client.cell.view.ViewCell
getIdentity, localMoveRequest, setStatus
 
Methods inherited from class org.jdesktop.wonderland.client.cell.Cell
addChild, addChildrenChangeListener, addComponent, addComponent, addComponentChangeListener, addParentChangeListener, addStatusChangeListener, addTransformChangeListener, fireCellStatusChanged, getCellCache, getCellID, getCellRenderer, getChildren, getComponent, getComponents, getLocalBounds, getLocalToWorldTransform, getLocalTransform, getName, getNumChildren, getParent, getStatus, getWorldBounds, getWorldTransform, removeChild, removeChildChangeListener, removeComponent, removeComponentChangeListener, removeParentChangeListener, removeStatusChangeListener, removeTransformChangeListener, sendCellMessage, sendCellMessageAndWait, setLocalBounds, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvatarCell

public AvatarCell(CellID cellID,
                  CellCache cellCache)
Method Detail

triggerAction

public void triggerAction(int trigger,
                          boolean pressed,
                          java.lang.String animationName)
TODO this is a temporary interface for handling avatar actions, need to uplevel

Parameters:
trigger -
pressed -

triggerCollision

public void triggerCollision(float height,
                             boolean collision)
TODO is a temporary interface for handling avatar actions, need to uplevel

Parameters:
trigger -
pressed -

triggerGoto

public void triggerGoto(com.jme.math.Vector3f worldPosition,
                        com.jme.math.Quaternion look)
TODO this is a temporary interface for handling avatar goto, need to uplevel


setClientState

public void setClientState(CellClientState cellClientState)
Description copied from class: Cell
Called when the cell is initially created and any time there is a major configuration change. The cell will already be attached to it's parent before the initial call of this method

Overrides:
setClientState in class ViewCell
Parameters:
cellClientState - the configuration data for the cell

createCellRenderer

protected CellRenderer createCellRenderer(Cell.RendererType rendererType)
Description copied from class: Cell
Create the renderer for this cell

Overrides:
createCellRenderer in class Cell
Parameters:
rendererType - The type of renderer required
Returns:
the renderer for the specified type if available, or null

isSelectedForInput

public boolean isSelectedForInput()
Returns:
the selectedForInput

setSelectedForInput

public void setSelectedForInput(boolean selectedForInput)
Parameters:
selectedForInput - the selectedForInput to set


Open Wonderland - http://openwonderland.org