public final class LayerListDialog.MergeAction extends javax.swing.AbstractAction implements LayerListDialog.IEnabledStateUpdating
| Constructor and Description |
|---|
MergeAction()
Constructs a new
MergeAction. |
MergeAction(Layer layer)
Constructs a new
MergeAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected boolean |
isActiveLayer(Layer layer) |
void |
updateEnabledState() |
public MergeAction(Layer layer) throws java.lang.IllegalArgumentException
MergeAction.layer - the layerjava.lang.IllegalArgumentException - if layer is nullpublic MergeAction()
MergeAction.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerprotected boolean isActiveLayer(Layer layer)
public void updateEnabledState()
updateEnabledState in interface LayerListDialog.IEnabledStateUpdating