class SelectionListDialog.ShowHistoryAction extends AbstractAction implements ListSelectionListener, SelectionChangedListener
changeSupport, enabled
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 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, setEnabled
ShowHistoryAction()
ShowHistoryAction
.public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
protected void updateEnabledState(int osmSelectionSize)
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void selectionChanged(Collection<? extends OsmPrimitive> newSelection)
SelectionChangedListener
selectionChanged
in interface SelectionChangedListener
newSelection
- The new selection.