Klasse DelegatingHoseModel
java.lang.Object
org.teamapps.ux.component.timegraph.model.AbstractHoseGraphModel
org.teamapps.ux.component.timegraph.model.DelegatingHoseModel
- Alle implementierten Schnittstellen:
GraphModel<HoseGraphData>,HoseGraphModel
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDelegatingHoseModel(GraphModel<LineGraphData> minModel, GraphModel<LineGraphData> maxModel) DelegatingHoseModel(GraphModel<LineGraphData> minModel, GraphModel<LineGraphData> avgModel, GraphModel<LineGraphData> maxModel) -
Methodenübersicht
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.teamapps.ux.component.timegraph.model.GraphModel
onDataChanged
-
Felddetails
-
onDataChanged
-
-
Konstruktordetails
-
DelegatingHoseModel
public DelegatingHoseModel(GraphModel<LineGraphData> minModel, GraphModel<LineGraphData> avgModel, GraphModel<LineGraphData> maxModel) -
DelegatingHoseModel
-
-
Methodendetails
-
getDomainX
-
getData
public HoseGraphData getData(TimePartitioning zoomLevel, ZoneId zoneId, Interval neededInterval, Interval displayedInterval) Beschreibung aus Schnittstelle kopiert:GraphModelRetrieves 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
-
onDataChanged
- Angegeben von:
onDataChangedin SchnittstelleGraphModel<D extends GraphData>
-