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.LayerListModelmodel
-
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 voidactionPerformed(java.awt.event.ActionEvent e)voidupdateEnabledState()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:IEnabledStateUpdatingCalled after the layer model has changed.- Specified by:
updateEnabledStatein interfaceIEnabledStateUpdating
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
-