예제 #1
0
 public void cleanup() {
   super.cleanup();
   model.removeEventListener(this);
 }
예제 #2
0
 public void removeEventListener(Listener<EventObject> l) {
   super.removeEventListener(l);
   if (!hasListeners()) {
     model.removeEventListener(this);
   }
 }