public abstract class LocationBasedAction extends AbstractAction
LocationBasedPopupHandler.changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
LocationBasedAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
prepareShow(Component component,
int x,
int y)
Will be called by the
LocationBasedPopupHandler
before the popup menu is shown at the specified position
on the given component. |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionPerformedprotected void prepareShow(Component component, int x, int y)
LocationBasedPopupHandler
before the popup menu is shown at the specified position
on the given component. The default implementation is
empty and may be overridden to configure this action
based on the given parameters.component - The componentx - The x-positiony - The y-positionCopyright © 2022. All rights reserved.