public final class LayerListDialog.DeleteLayerAction extends AbstractAction implements LayerListDialog.IEnabledStateUpdating, Layer.LayerAction
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 |
|---|
DeleteLayerAction()
Creates a
LayerListDialog.DeleteLayerAction which will delete the currently
selected layers in the layer dialog. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
Component |
createMenuComponent() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
supportLayers(List<Layer> layers) |
void |
updateEnabledState() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic DeleteLayerAction()
LayerListDialog.DeleteLayerAction which will delete the currently
selected layers in the layer dialog.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void updateEnabledState()
updateEnabledState in interface LayerListDialog.IEnabledStateUpdatingpublic Component createMenuComponent()
createMenuComponent in interface Layer.LayerActionpublic boolean supportLayers(List<Layer> layers)
supportLayers in interface Layer.LayerAction