public final class LayerListDialog.DuplicateAction extends javax.swing.AbstractAction implements LayerListDialog.IEnabledStateUpdating
Constructor and Description |
---|
LayerListDialog.DuplicateAction()
Constructs a new
DuplicateAction . |
LayerListDialog.DuplicateAction(Layer layer) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
private void |
duplicate(Layer layer) |
protected boolean |
isActiveLayer(Layer layer) |
void |
updateEnabledState() |
public LayerListDialog.DuplicateAction(Layer layer) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public LayerListDialog.DuplicateAction()
DuplicateAction
.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