public class MoveUpAction extends javax.swing.AbstractAction implements IEnabledStateUpdating
Modifier and Type | Field and Description |
---|---|
private LayerListDialog.LayerListModel |
model |
Constructor and Description |
---|
MoveUpAction(LayerListDialog.LayerListModel model)
Constructs a new
MoveUpAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
updateEnabledState()
Called after the layer model has changed.
|
private final LayerListDialog.LayerListModel model
public MoveUpAction(LayerListDialog.LayerListModel model)
MoveUpAction
.model
- layer list modelpublic void updateEnabledState()
IEnabledStateUpdating
updateEnabledState
in interface IEnabledStateUpdating
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener