Class MoveUpAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
-
- org.openstreetmap.josm.gui.dialogs.relation.actions.MoveUpAction
-
- All Implemented Interfaces:
ActionListener
,PropertyChangeListener
,Serializable
,Cloneable
,EventListener
,Action
,ListSelectionListener
,TableModelListener
public class MoveUpAction extends AbstractRelationEditorAction
Move the currently selected members up.- Since:
- 9496
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Fields inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
editorAccess
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Constructor Summary
Constructors Constructor Description MoveUpAction(IRelationEditorActionAccess editorAccess, String actionMapKey)
Constructs a newMoveUpAction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
protected void
updateEnabledState()
-
Methods inherited from class org.openstreetmap.josm.gui.dialogs.relation.actions.AbstractRelationEditorAction
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChanged
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MoveUpAction
public MoveUpAction(IRelationEditorActionAccess editorAccess, String actionMapKey)
Constructs a newMoveUpAction
.- Parameters:
editorAccess
- An interface to access the relation editor contents.actionMapKey
- action map key
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
updateEnabledState
protected void updateEnabledState()
- Specified by:
updateEnabledState
in classAbstractRelationEditorAction
-
-