コード例 #1
0
 public void increment(int amount) {
   this.latestRevision += amount;
   publisher.fireEvent(
       this, new Integer(this.latestRevision), DetachedSubjectAndListenerEventFormat.INSTANCE);
 }
コード例 #2
0
 public void setValue(String value) {
   this.value = value;
   publisher.fireEvent(
       this, "[" + name + ":" + this.value + "]", SimpleSubjectListenerEventFormat.INSTANCE);
 }