public interface MapPopupAction extends Action, Comparable<MapPopupAction>
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Modifier and Type | Method and Description |
|---|---|
com.vividsolutions.jts.geom.Point |
getPoint()
Returns the
Point where the action was triggered. |
int |
getPosition()
Returns the desired position in the popup menu.
|
JMenu |
getSubmenu()
In some cases it's preferred to show a whole menu in the upcoming popup menu and not only one single menu item.
|
boolean |
isActive(boolean featuresSubjacent)
The action may decide whether it shall be shown in the upcoming popup menu or not.
|
void |
setPoint(com.vividsolutions.jts.geom.Point point)
Setter for the
Point where the action will be triggered. |
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformedcompareTocom.vividsolutions.jts.geom.Point getPoint()
Point where the action was triggered.point where the action was triggeredvoid setPoint(com.vividsolutions.jts.geom.Point point)
Point where the action will be triggered.point - the point where the action will be triggeredint getPosition()
boolean isActive(boolean featuresSubjacent)
featuresSubjacent - true, if the action popup menu was triggered over a feature,
false otherwisetrue, if the action shall be displayed, false otherwiseJMenu getSubmenu()
Copyright © 2012–2025 cismet GmbH. All rights reserved.