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