public class TimeSeriesAnimation extends TimeSeries
UNDEFINED
Constructor and Description |
---|
TimeSeriesAnimation(ModelAnimation owner,
java.lang.String name,
TimeInstant start,
TimeInstant end,
boolean showInTrace)
Constructor with the same parameters as in TimeSeries
|
Modifier and Type | Method and Description |
---|---|
void |
createAnimation(double valMin,
double valMax,
int histogramCells,
Position pos,
Form form,
boolean showInAnimation)
create animation with full parameterization
|
void |
createAnimation(Position pos,
Form form,
boolean showInAnimation)
create standard animation
|
void |
reset()
Resets this TimeSeries object by deleting the contents of the file to
which all the data is saved to.
|
void |
update(double value)
Add a value to statistical object.
|
connectToPlotter, createDefaultReporter, get_end, get_start, getDataValues, getGroup, getTimeValues, getValue, setGroup, update, update, update
getShowTimeSpansInReport, getUnit, setShowTimeSpansInReport
getUnitText, round, setUnit
getCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReporter
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public TimeSeriesAnimation(ModelAnimation owner, java.lang.String name, TimeInstant start, TimeInstant end, boolean showInTrace)
owner
- used modelname
- name of TimeSeriesstart
- start timeend
- end timeshowInTrace
- as in TimeSeriespublic void createAnimation(Position pos, Form form, boolean showInAnimation)
pos
- middle point of animation objectform
- form of animation objectshowInAnimation
- switch animation on or offpublic void createAnimation(double valMin, double valMax, int histogramCells, Position pos, Form form, boolean showInAnimation)
valMin
- initial value line from valMin to valMaxvalMax
- initial value line from valMin to valMaxhistogramCells
- no of histogram cells between valMin and valMax
0 means, there is no histogram support.pos
- middle point of animation objectform
- form of animation objectshowInAnimation
- switch animation on or offpublic void update(double value)
update
in class TimeSeries
value
- add a valuepublic void reset()
TimeSeries
reset
in class TimeSeries