Class EventTimeline
java.lang.Object
com.inductiveautomation.sfc.recorder.EventTimeline
- All Implemented Interfaces:
Serializable
Note: Adding methods to deal with Events specifically, as timestamp collisions seem to be common -Mitch
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnd()
Returns a list of all the times that have events, for use in building a timeline.getStart()
boolean
hasMore()
Returns true if there are additional events beyond the current position.Returns the next chart status and moves the position forward.peek()
void
Resets internal tracking back to the start.void
void
-
Constructor Details
-
EventTimeline
public EventTimeline() -
EventTimeline
-
-
Method Details
-
getStart
-
getEnd
-
peek
-
getEventTimes
Returns a list of all the times that have events, for use in building a timeline. -
resetPosition
public void resetPosition()Resets internal tracking back to the start. -
hasMore
public boolean hasMore()Returns true if there are additional events beyond the current position. -
nextChartStatus
Returns the next chart status and moves the position forward. -
seekTo
-
seekTo
-
getEvents
-
peekEvent
-
previousEvent
-
getStartEvent
-
getEndEvent
-