org.xith3d.selection
Class HUDContextMenuProvider

java.lang.Object
  extended by org.xith3d.selection.HUDContextMenuProvider
All Implemented Interfaces:
ContextMenuProvider

public class HUDContextMenuProvider
extends java.lang.Object
implements ContextMenuProvider

HUD implementation of ContextMenuProvider.


Field Summary
static java.lang.String PROP_MOUSE_COORDS
           
static java.lang.String PROP_SELECTED_CONTEXT
           
static java.lang.String PROP_SELECTION
           
static java.lang.String PROP_WORLD_COORDS
           
 
Constructor Summary
HUDContextMenuProvider(HUD hud)
           
 
Method Summary
 void showContextMenu(org.openmali.vecmath2.Tuple2i mouseCoords, org.openmali.vecmath2.Tuple3f worldCoords, java.util.List<Selectable> selection, java.util.List<Selectable> selectedContext)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_MOUSE_COORDS

public static final java.lang.String PROP_MOUSE_COORDS
See Also:
Constant Field Values

PROP_WORLD_COORDS

public static final java.lang.String PROP_WORLD_COORDS
See Also:
Constant Field Values

PROP_SELECTION

public static final java.lang.String PROP_SELECTION
See Also:
Constant Field Values

PROP_SELECTED_CONTEXT

public static final java.lang.String PROP_SELECTED_CONTEXT
See Also:
Constant Field Values
Constructor Detail

HUDContextMenuProvider

public HUDContextMenuProvider(HUD hud)
Method Detail

showContextMenu

public void showContextMenu(org.openmali.vecmath2.Tuple2i mouseCoords,
                            org.openmali.vecmath2.Tuple3f worldCoords,
                            java.util.List<Selectable> selection,
                            java.util.List<Selectable> selectedContext)

Specified by:
showContextMenu in interface ContextMenuProvider