@FunctionalInterface
public interface AddToPopupMapMenuIfc
AbstractPopupMenuAction
Modifier and Type | Method and Description |
---|---|
boolean |
testIfIncluded(int mouseX,
int mouseY,
com.bbn.openmap.proj.Projection p)
When creating a popup menu for the map window, specify whether this menu item
should be included in the menu.
|
boolean testIfIncluded(int mouseX, int mouseY, com.bbn.openmap.proj.Projection p)
mouseX
- int screen pixel X coordinate where popup menu was invoked, or -1 for not map-invokedmouseY
- int screen pixel Y coordinate where popup menu was invoked, or -1 for not map-invokedp
- the current Projection that the map is being rendered with (null if the menu is
being invoked on a window without a map)AbstractPopupMenuAction.matchList
,
AbstractPopupMenuAction.proj