public class RenameLayerAction extends javax.swing.AbstractAction
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
RenameLayerAction.InitialValueOptionPane |
| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
file |
private Layer |
layer |
| Constructor and Description |
|---|
RenameLayerAction(java.io.File file,
Layer layer)
Constructs a new
RenameLayerAction. |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
public RenameLayerAction(java.io.File file, Layer layer)
RenameLayerAction.file - The file of the original location of this layer.
If null, no possibility to "rename the file as well" is provided.layer - layer to renamepublic void actionPerformed(java.awt.event.ActionEvent e)