public class ObservationListModel extends javax.swing.DefaultListModel<Observation> implements ObservationListener
| Constructor and Description |
|---|
ObservationListModel(Schedule schedule) |
| Modifier and Type | Method and Description |
|---|---|
void |
addObservation(Observation obs) |
void |
commandingChanged(ObservationChangeEvent event)
Method called when the commanding part of an Observation has changed
|
void |
metadataChanged(ObservationChangeEvent event)
Method called when the metadata of an observation has changed
|
void |
observationChanged(ObservationChangeEvent event)
Method called when an Observation changed but it is not known in which part (pointing, commanding or metadata)
|
void |
pointingChanged(ObservationChangeEvent event)
Method called when the pointing of an Observation has changed
|
void |
scheduleChanged()
Method called when the schedule has changed globally but not a existing observation (for example if a Observation has been removed or added)
|
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSizepublic ObservationListModel(Schedule schedule)
public void observationChanged(ObservationChangeEvent event)
ObservationListenerobservationChanged in interface ObservationListenerpublic void scheduleChanged()
ObservationListenerscheduleChanged in interface ObservationListenerpublic void metadataChanged(ObservationChangeEvent event)
ObservationListenermetadataChanged in interface ObservationListenerpublic void pointingChanged(ObservationChangeEvent event)
ObservationListenerpointingChanged in interface ObservationListenerpublic void commandingChanged(ObservationChangeEvent event)
ObservationListenercommandingChanged in interface ObservationListenerpublic void addObservation(Observation obs)