Exemple #1
0
 public void replaceName(String oldName, String newName) {
   super.addName(newName);
   setDirtyAndFirePropertyChange(CAROWNERS_NAME_CHANGED_PROPERTY, oldName, newName);
   super.deleteName(newName);
 }
Exemple #2
0
 @Override
 public void addName(String owner) {
   super.addName(owner);
   setDirtyAndFirePropertyChange(CAROWNERS_CHANGED_PROPERTY, null, owner);
 }