public class ContextMenusOnShapes extends ApplicationTemplate
PointPlacemark
s
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.Modifier and Type | Class and Description |
---|---|
static class |
ContextMenusOnShapes.AppFrame |
protected static class |
ContextMenusOnShapes.ContextMenu
The ContextMenu class implements the context menu.
|
protected static class |
ContextMenusOnShapes.ContextMenuController
The Controller listens for selection events and either highlights a selected item or shows its context menu.
|
protected static class |
ContextMenusOnShapes.ContextMenuInfo
The ContextMenuInfo class specifies the contents of the context menu.
|
static class |
ContextMenusOnShapes.ContextMenuItemAction
The ContextMenuItemAction responds to user selection of a context menu item.
|
protected static class |
ContextMenusOnShapes.ContextMenuItemInfo
The ContextMenuItemInfo class specifies the contents of one entry in the context menu.
|
ApplicationTemplate.AppPanel
Constructor and Description |
---|
ContextMenusOnShapes() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
public static void main(String[] args)