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