class GenericRelationEditor.SetRoleAction extends AbstractAction implements ListSelectionListener, DocumentListener
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 |
---|
SetRoleAction() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
changedUpdate(DocumentEvent e) |
protected boolean |
confirmSettingEmptyRole(int onNumMembers) |
void |
insertUpdate(DocumentEvent e) |
protected boolean |
isEmptyRole() |
protected void |
refreshEnabled() |
void |
removeUpdate(DocumentEvent e) |
void |
valueChanged(ListSelectionEvent e) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
SetRoleAction()
protected void refreshEnabled()
protected boolean isEmptyRole()
protected boolean confirmSettingEmptyRole(int onNumMembers)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void changedUpdate(DocumentEvent e)
changedUpdate
in interface DocumentListener
public void insertUpdate(DocumentEvent e)
insertUpdate
in interface DocumentListener
public void removeUpdate(DocumentEvent e)
removeUpdate
in interface DocumentListener