public class ScheduleModel extends DefaultTimeBarModel implements ObservationListener
| Modifier and Type | Field and Description |
|---|---|
protected ScheduleViewer |
viewer |
| Constructor and Description |
|---|
ScheduleModel(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
|
de.jaret.util.date.JaretDate |
getMaxDate() |
de.jaret.util.date.JaretDate |
getMinDate() |
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 |
recualculatePtr() |
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)
|
protected ScheduleViewer viewer
public ScheduleModel(Schedule schedule)
public void addObservation(Observation obs)
public de.jaret.util.date.JaretDate getMaxDate()
public de.jaret.util.date.JaretDate getMinDate()
public void observationChanged(ObservationChangeEvent event)
ObservationListenerobservationChanged in interface ObservationListenerpublic void recualculatePtr()
public 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