org.jdesktop.wonderland.client.contextmenu
Class ContextMenuItemEvent

java.lang.Object
  extended by org.jdesktop.wonderland.client.contextmenu.ContextMenuItemEvent

public class ContextMenuItemEvent
extends java.lang.Object

An event when an item on the context menu for Cell is selected.

Author:
Jordan Slott

Constructor Summary
ContextMenuItemEvent(ContextMenuItem item, Cell cell)
          Constructor, takes the entity
 
Method Summary
 Cell getCell()
          Returns the Cell associated with the context menu.
 ContextMenuItem getContextMenuItem()
          Returns the context menu item selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextMenuItemEvent

public ContextMenuItemEvent(ContextMenuItem item,
                            Cell cell)
Constructor, takes the entity

Method Detail

getCell

public Cell getCell()
Returns the Cell associated with the context menu.

Returns:
A Cell object

getContextMenuItem

public ContextMenuItem getContextMenuItem()
Returns the context menu item selected.

Returns:
The ContextMenuItem


Open Wonderland - http://openwonderland.org