protected class MapPaintDialog.MoveUpDownAction extends AbstractAction implements ListSelectionListener
Modifier and Type | Field and Description |
---|---|
private int |
increment |
changeSupport, enabled
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 and Description |
---|
MoveUpDownAction(boolean isDown)
Constructs a new
MoveUpDownAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
updateEnabledState() |
void |
valueChanged(ListSelectionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private final int increment
public MoveUpDownAction(boolean isDown)
MoveUpDownAction
.isDown
- true
to move the entry down, false
to move it uppublic void updateEnabledState()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener