Package jmri.jmrit.display
Class RpsPositionIcon.Notifier
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.display.RpsPositionIcon.Notifier
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Enclosing class:
- RpsPositionIcon
Internal class to show position in the popup menu.
This is updated before the menu is shown, and then appears in the menu.
-
Field Summary
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDoes nothing, here to make this work(package private) voidsetPosition(int x, int y) Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
Notifier
public Notifier()
-
-
Method Details
-
actionPerformed
Does nothing, here to make this work -
setPosition
- Parameters:
x- display coordinatey- display coordinate
-