Class ContextMenusOnShapes


  • public class ContextMenusOnShapes
    extends ApplicationTemplate
    Illustrates how to attach context (popup) menus to shapes. The example creates several PointPlacemarks and assigns each of them a context-menu definition. When the user presses the right mouse button while the cursor is on a placemark, the placemark's context menu is shown and the user may select an item in it.
    • Constructor Detail

      • ContextMenusOnShapes

        public ContextMenusOnShapes()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)