~matteo-collina/+junk/temafinalegui

« back to all changes in this revision

Viewing changes to src/main/java/mc/ingsoft/temafinale/gui/views/AbstractActionExecutor.java

  • Committer: Matteo Collina
  • Date: 2008-12-15 18:30:20 UTC
  • Revision ID: matteo.collina@gmail.com-20081215183020-8iexmcgnuf5at3o7
 * Corretto il problema del non spegnimento delle View.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        this.enabled = enabled;
35
35
        propertyChangeSupport.firePropertyChange("enabled", oldValue, enabled);
36
36
    }
 
37
    
 
38
    public void clear() {
 
39
        for(PropertyChangeListener listener : propertyChangeSupport.getPropertyChangeListeners()) {
 
40
            propertyChangeSupport.removePropertyChangeListener(listener);
 
41
        }
 
42
    }
37
43
}