org.openstreetmap.josm.gui.dialogs.relation
Class GenericRelationEditor.SetRoleAction
java.lang.Object
javax.swing.AbstractAction
org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor.SetRoleAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, javax.swing.event.DocumentListener, javax.swing.event.ListSelectionListener
- Enclosing class:
- GenericRelationEditor
class GenericRelationEditor.SetRoleAction
- extends javax.swing.AbstractAction
- implements javax.swing.event.ListSelectionListener, javax.swing.event.DocumentListener
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 |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericRelationEditor.SetRoleAction
public GenericRelationEditor.SetRoleAction()
refreshEnabled
protected void refreshEnabled()
isEmptyRole
protected boolean isEmptyRole()
confirmSettingEmptyRole
protected boolean confirmSettingEmptyRole(int onNumMembers)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.ListSelectionListener
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
JOSM