gov.nasa.worldwindx.examples
Class ContextMenusOnShapes.ContextMenuController
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastPickedPlacemark
protected PointPlacemark lastPickedPlacemark
ContextMenusOnShapes.ContextMenuController
protected ContextMenusOnShapes.ContextMenuController()
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)