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
 protected void setDirtyAndFirePropertyChange(String p, Object old, Object n) {
   // Set dirty
   CarManagerXml.instance().setDirty(true);
   super.firePropertyChange(p, old, n);
 }
Exemple #3
0
 @Override
 public void deleteName(String owner) {
   super.deleteName(owner);
   setDirtyAndFirePropertyChange(CAROWNERS_CHANGED_PROPERTY, owner, null);
 }