public final class LayerListDialog.DeleteLayerAction extends javax.swing.AbstractAction implements LayerListDialog.IEnabledStateUpdating, Layer.LayerAction
| 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(java.awt.event.ActionEvent e) |
java.awt.Component |
createMenuComponent() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
supportLayers(java.util.List<Layer> layers) |
void |
updateEnabledState() |
public DeleteLayerAction()
LayerListDialog.DeleteLayerAction which will delete the currently
selected layers in the layer dialog.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void updateEnabledState()
updateEnabledState in interface LayerListDialog.IEnabledStateUpdatingpublic java.awt.Component createMenuComponent()
createMenuComponent in interface Layer.LayerActionpublic boolean supportLayers(java.util.List<Layer> layers)
supportLayers in interface Layer.LayerActionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object