Class SelectionListDialog.ShowHistoryAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.actions.AbstractShowHistoryAction
org.openstreetmap.josm.gui.dialogs.SelectionListDialog.ShowHistoryAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,ListSelectionListener,DataSelectionListener
- Enclosing class:
- SelectionListDialog
class SelectionListDialog.ShowHistoryAction
extends AbstractShowHistoryAction
implements ListSelectionListener, DataSelectionListener
The action for showing history information of the current history item.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.data.osm.DataSelectionListener
DataSelectionListener.AbstractSelectionEvent, DataSelectionListener.SelectionAddEvent, DataSelectionListener.SelectionChangeEvent, DataSelectionListener.SelectionRemoveEvent, DataSelectionListener.SelectionReplaceEvent, DataSelectionListener.SelectionToggleEvent -
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 TypeMethodDescriptionvoidvoidCalled whenever the selection is changed.protected voidupdateEnabledState(int osmSelectionSize) voidMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
ShowHistoryAction
Constructs a newShowHistoryAction.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
updateEnabledState
-
valueChanged
- Specified by:
valueChangedin interfaceListSelectionListener
-
selectionChanged
Description copied from interface:DataSelectionListenerCalled whenever the selection is changed. You get notified about the new selection, the elements that were added and removed and the layer that triggered the event.- Specified by:
selectionChangedin interfaceDataSelectionListener- Parameters:
event- The selection change event.- See Also:
-