public abstract class AbstractFocalPlaneMapModel extends Object implements FocalPlaneMapModel
FocalPlaneMapModel.
Implements handling of listeners.| Modifier and Type | Field and Description |
|---|---|
protected CopyOnWriteArrayList<FocalPlaneMapModelListener> |
listeners |
| Constructor and Description |
|---|
AbstractFocalPlaneMapModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
Adds a listener to be notified of changes in this model.
|
protected void |
notifyListeners(FocalPlaneMapModelEvent event) |
void |
removeFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
Removes a model listener.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final CopyOnWriteArrayList<FocalPlaneMapModelListener> listeners
public void addFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
FocalPlaneMapModeladdFocalPlaneMapModelListener in interface FocalPlaneMapModellistener - Listener to be registered.public void removeFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
FocalPlaneMapModelremoveFocalPlaneMapModelListener in interface FocalPlaneMapModellistener - Listener to be removed, or null if all listeners should be removed.protected void notifyListeners(FocalPlaneMapModelEvent event)
Copyright © 2022 LSST. All rights reserved.