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

java.lang.Object
  extended by org.jdesktop.wonderland.common.cell.state.CellComponentServerState
      extended by org.jdesktop.wonderland.common.cell.state.InteractionComponentServerState
All Implemented Interfaces:
java.io.Serializable, CellState

public class InteractionComponentServerState
extends CellComponentServerState
implements java.io.Serializable

The server state for the cell interaction component, which controls how users can interact with a cell.

Author:
Jonathan Kaplan
See Also:
Serialized Form

Constructor Summary
InteractionComponentServerState()
          Default constructor
 
Method Summary
 java.lang.String getServerComponentClassName()
          Returns the fully-qualified class name of the server-side component class.
 boolean isCollidable()
          Determine whether or not the cell is collidable -- ie whether avatars collide with the cell or not
 boolean isSelectable()
          Determine whether or not the cell is selectable -- ie whether it responds to selection actions like right click in the UI
 void setCollidable(boolean collidable)
           
 void setSelectable(boolean selectable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractionComponentServerState

public InteractionComponentServerState()
Default constructor

Method Detail

getServerComponentClassName

public java.lang.String getServerComponentClassName()
Description copied from class: CellComponentServerState
Returns the fully-qualified class name of the server-side component class.

Specified by:
getServerComponentClassName in class CellComponentServerState
Returns:
The server-side cell component class name

isCollidable

public boolean isCollidable()
Determine whether or not the cell is collidable -- ie whether avatars collide with the cell or not

Returns:
true if the cell is collidable, or false if not

setCollidable

public void setCollidable(boolean collidable)

isSelectable

public boolean isSelectable()
Determine whether or not the cell is selectable -- ie whether it responds to selection actions like right click in the UI

Returns:
true if the cell is collidable, or false if not

setSelectable

public void setSelectable(boolean selectable)


Open Wonderland - http://openwonderland.org