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)
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 ObservationListener