Schnittstelle GraphModel<D extends GraphData>
- Alle bekannten Unterschnittstellen:
GraphGroupModel,HoseGraphModel,IncidentGraphModel,LineGraphModel
- Alle bekannten Implementierungsklassen:
AbstractGraphGroupModel,AbstractHoseGraphModel,AbstractIncidentGraphModel,AbstractLineGraphModel,AggregatingLineGraphModel,DelegatingHoseModel,PartitioningTimestampsLineGraphModel
public interface GraphModel<D extends GraphData>
-
Methodendetails
-
onDataChanged
-
getDomainX
Interval getDomainX() -
getData
D getData(TimePartitioning zoomLevel, ZoneId zoneId, Interval neededInterval, Interval displayedInterval) Retrieves graph data (GraphData) for the specifiedzoomLeveland {cod@ neededInterval}.The model MAY choose return more data than needed, covering a larger interval than requested.
However, the result MUST at least coverneededInterval!
If the model delegates to multiple sub-models for different graphs, its aggregatedGraphDataobject should use the intersection of the sub-model'sGraphData.getInterval()as its ownGraphData.getInterval().- Parameter:
zoomLevel- the requested zoom levelzoneId- the zoneId to apply when partitioning over timeneededInterval- the time interval requested by the clientdisplayedInterval- the time interval displayed by the client- Gibt zurück:
- graph data
-