public class RenameLayerAction extends AbstractAction
| Modifier and Type | Field and Description |
|---|---|
private File |
file |
private Layer |
layer |
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
RenameLayerAction(File file,
Layer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic RenameLayerAction(File file, Layer layer)
file - The file of the original location of this layer.
If null, no possibility to "rename the file as well" is provided.public void actionPerformed(ActionEvent e)