Esempio n. 1
0
 public void setStringValue(String newValue) {
   System.out.println("String value set: " + newValue);
   String oldValue = stringValue;
   this.stringValue = newValue;
   changeSupport.firePropertyChange("stringValue", oldValue, newValue);
 }
Esempio n. 2
0
 public void addPropertyChangeListener(PropertyChangeListener x) {
   changeSupport.addPropertyChangeListener(x);
 }
Esempio n. 3
0
 public void removePropertyChangeListener(PropertyChangeListener x) {
   changeSupport.removePropertyChangeListener(x);
 }
Esempio n. 4
0
 public void setBooleanValue(boolean newValue) {
   System.out.println("Boolean value set: " + newValue);
   boolean oldValue = booleanValue;
   booleanValue = newValue;
   changeSupport.firePropertyChange("booleanValue", oldValue, newValue);
 }