public class ObservationInterval extends IntervalImpl implements ObservationListener
Constructor and Description |
---|
ObservationInterval(Observation obs) |
Modifier and Type | Method and Description |
---|---|
void |
addObservationListener(ObservationListener listener) |
void |
commandingChanged(ObservationChangeEvent event)
Method called when the commanding part of an Observation has changed
|
Observation |
getObservation() |
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)
|
java.lang.String |
toString() |
public ObservationInterval(Observation obs)
public java.lang.String toString()
public void addObservationListener(ObservationListener listener)
public Observation getObservation()
public void observationChanged(ObservationChangeEvent event)
ObservationListener
observationChanged
in interface ObservationListener
public void scheduleChanged()
ObservationListener
scheduleChanged
in interface ObservationListener
public void metadataChanged(ObservationChangeEvent event)
ObservationListener
metadataChanged
in interface ObservationListener
public void pointingChanged(ObservationChangeEvent event)
ObservationListener
pointingChanged
in interface ObservationListener
public void commandingChanged(ObservationChangeEvent event)
ObservationListener
commandingChanged
in interface ObservationListener