public class SetRoleAction extends AbstractRelationEditorAction implements javax.swing.event.DocumentListener
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private AutoCompletingTextField |
tfRole |
editorAccess
Constructor and Description |
---|
SetRoleAction(IRelationEditorActionAccess editorAccess)
Constructs a new
SetRoleAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
changedUpdate(javax.swing.event.DocumentEvent e) |
protected boolean |
confirmSettingEmptyRole(int onNumMembers) |
void |
insertUpdate(javax.swing.event.DocumentEvent e) |
protected boolean |
isEmptyRole() |
void |
removeUpdate(javax.swing.event.DocumentEvent e) |
protected void |
updateEnabledState() |
canDownload, getEditor, getLayer, getMemberTable, getMemberTableModel, getSelectionTable, getSelectionTableModel, getTagModel, isExpertOnly, propertyChange, tableChanged, valueChanged
private static final long serialVersionUID
private final transient AutoCompletingTextField tfRole
public SetRoleAction(IRelationEditorActionAccess editorAccess)
SetRoleAction
.editorAccess
- An interface to access the relation editor contents.protected void updateEnabledState()
updateEnabledState
in class AbstractRelationEditorAction
protected boolean isEmptyRole()
protected boolean confirmSettingEmptyRole(int onNumMembers)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate
in interface javax.swing.event.DocumentListener
public void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate
in interface javax.swing.event.DocumentListener
public void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate
in interface javax.swing.event.DocumentListener