Class ContextMenuEvent

  extended by org.jdesktop.wonderland.client.input.Event
      extended by org.jdesktop.wonderland.client.scenemanager.event.SceneEvent
          extended by org.jdesktop.wonderland.client.scenemanager.event.ContextEvent
              extended by org.jdesktop.wonderland.client.contextmenu.ContextMenuEvent
All Implemented Interfaces:

public class ContextMenuEvent
extends ContextEvent

Wraps a ContextMenuInvocationSettings object that allows clients to make current-invocation only changes to the context menu. Context menu listeners can adjust whether standard menu items (from the ContextMenuManager) and cell-standard menu items (from the cell's ContextMenuComponent) are displayed using booleans, and add new menu items. None of the changes made will carry over to the next display of the context menu. To make a persistent change, operate on the ContextMenuManager or ContextMenuComponent. Note that this these settings are seen and can be modified by any context menu listener.

See Also:
Serialized Form

Field Summary
Fields inherited from class org.jdesktop.wonderland.client.input.Event
entity, EVENT_CLASS_ID, isFocussed
Constructor Summary
ContextMenuEvent(ContextEvent evt, Cell cell)
Method Summary
 ContextMenuInvocationSettings getSettings()
 ContextEvent getSource()
Methods inherited from class org.jdesktop.wonderland.client.scenemanager.event.ContextEvent
clone, getMouseEvent
Methods inherited from class org.jdesktop.wonderland.client.scenemanager.event.SceneEvent
getCellForEntity, getEntityList, getPrimaryCell, getPrimaryEntity
Methods inherited from class org.jdesktop.wonderland.client.input.Event
allocateEventClassID, free, getClassID, getEntity, isFocussed, setEntity, setFocussed
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ContextMenuEvent(ContextEvent evt,
                        Cell cell)
Method Detail


public ContextMenuInvocationSettings getSettings()


public ContextEvent getSource()

Open Wonderland -