public final class LayerListDialog.MergeAction extends AbstractAction implements LayerListDialog.IEnabledStateUpdating
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
MergeAction()
Constructs a new
MergeAction. |
MergeAction(Layer layer) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
protected boolean |
isActiveLayer(Layer layer) |
void |
updateEnabledState() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic MergeAction(Layer layer) throws IllegalArgumentException
IllegalArgumentExceptionpublic MergeAction()
MergeAction.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerprotected boolean isActiveLayer(Layer layer)
public void updateEnabledState()
updateEnabledState in interface LayerListDialog.IEnabledStateUpdating