Class MoveUpAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.gui.dialogs.layer.MoveUpAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action,IEnabledStateUpdating
The action to move up the currently selected entries in the list.
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionConstructs a newMoveUpAction. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidCalled after the layer model has changed.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
model
-
-
Constructor Details
-
MoveUpAction
Constructs a newMoveUpAction.- Parameters:
model- layer list model
-
-
Method Details
-
updateEnabledState
Description copied from interface:IEnabledStateUpdatingCalled after the layer model has changed.- Specified by:
updateEnabledStatein interfaceIEnabledStateUpdating
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-