org.xith3d.selection
Class AWTContextMenuProvider

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

public class AWTContextMenuProvider
extends java.lang.Object
implements 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
AWTContextMenuProvider(java.awt.Component component)
           
 
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

AWTContextMenuProvider

public AWTContextMenuProvider(java.awt.Component component)
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