Class MoveDownAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.layer.MoveDownAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
,IEnabledStateUpdating
public class MoveDownAction extends javax.swing.AbstractAction implements IEnabledStateUpdating
The action to move down the currently selected entries in the list.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private LayerListDialog.LayerListModel
model
-
Constructor Summary
Constructors Constructor Description MoveDownAction(LayerListDialog.LayerListModel model)
Constructs a newMoveDownAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
updateEnabledState()
Called after the layer model has changed.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
model
private final LayerListDialog.LayerListModel model
-
-
Constructor Detail
-
MoveDownAction
public MoveDownAction(LayerListDialog.LayerListModel model)
Constructs a newMoveDownAction
.- Parameters:
model
- layer list model
-
-
Method Detail
-
updateEnabledState
public void updateEnabledState()
Description copied from interface:IEnabledStateUpdating
Called after the layer model has changed.- Specified by:
updateEnabledState
in interfaceIEnabledStateUpdating
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-