class SelectionListDialog.ShowHistoryAction extends AbstractAction implements ListSelectionListener, SelectionChangedListener
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 |
|---|
ShowHistoryAction()
Constructs a new
ShowHistoryAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
selectionChanged(Collection<? extends OsmPrimitive> newSelection)
Informs the listener that the selection in the dataset has changed.
|
protected void |
updateEnabledState(int osmSelectionSize) |
void |
valueChanged(ListSelectionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledShowHistoryAction()
ShowHistoryAction.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected void updateEnabledState(int osmSelectionSize)
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic void selectionChanged(Collection<? extends OsmPrimitive> newSelection)
SelectionChangedListenerselectionChanged in interface SelectionChangedListenernewSelection - The new selection.