Ejemplo n.º 1
0
 public void removeDataPointListener(int dataPointId, DataPointListener l) {
   DataPointListener listeners =
       DataPointEventMulticaster.remove(dataPointListeners.get(dataPointId), l);
   if (listeners == null) dataPointListeners.remove(dataPointId);
   else dataPointListeners.put(dataPointId, listeners);
 }
Ejemplo n.º 2
0
 public void addDataPointListener(int dataPointId, DataPointListener l) {
   DataPointListener listeners = dataPointListeners.get(dataPointId);
   dataPointListeners.put(dataPointId, DataPointEventMulticaster.add(listeners, l));
 }