protected class MapPaintDialog.MoveUpDownAction extends javax.swing.AbstractAction implements javax.swing.event.ListSelectionListener
Modifier and Type | Field and Description |
---|---|
private int |
increment |
Constructor and Description |
---|
MoveUpDownAction(boolean isDown)
Constructs a new
MoveUpDownAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
updateEnabledState() |
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
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(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener