NASA World Wind

gov.nasa.worldwindx.examples
Class ContextMenusOnShapes.ContextMenuController

java.lang.Object
  extended by gov.nasa.worldwindx.examples.ContextMenusOnShapes.ContextMenuController
All Implemented Interfaces:
SelectListener, EventListener
Enclosing class:
ContextMenusOnShapes

protected static class ContextMenusOnShapes.ContextMenuController
extends Object
implements SelectListener

The Controller listens for selection events and either highlights a selected item or shows its context menu.


Field Summary
protected  PointPlacemark lastPickedPlacemark
           
 
Constructor Summary
protected ContextMenusOnShapes.ContextMenuController()
           
 
Method Summary
protected  void highlight(SelectEvent event, Object o)
           
 void selected(SelectEvent event)
           
protected  void showContextMenu(SelectEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastPickedPlacemark

protected PointPlacemark lastPickedPlacemark
Constructor Detail

ContextMenusOnShapes.ContextMenuController

protected ContextMenusOnShapes.ContextMenuController()
Method Detail

highlight

protected void highlight(SelectEvent event,
                         Object o)

selected

public void selected(SelectEvent event)
Specified by:
selected in interface SelectListener

showContextMenu

protected void showContextMenu(SelectEvent event)

NASA World Wind