Class EventTimeline
- java.lang.Object
- 
- com.inductiveautomation.sfc.recorder.EventTimeline
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class EventTimeline extends java.lang.Object implements java.io.SerializableNote: Adding methods to deal with Events specifically, as timestamp collisions seem to be common -Mitch- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description EventTimeline()EventTimeline(java.util.List<Event> events)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetEnd()EventgetEndEvent()java.util.List<Event>getEvents()java.util.List<java.util.Date>getEventTimes()Returns a list of all the times that have events, for use in building a timeline.java.util.DategetStart()EventgetStartEvent()booleanhasMore()Returns true if there are additional events beyond the current position.ChartStatusnextChartStatus()Returns the next chart status and moves the position forward.java.util.Datepeek()EventpeekEvent()EventpreviousEvent()voidresetPosition()Resets internal tracking back to the start.voidseekTo(Event event)voidseekTo(java.util.Date position)
 
- 
- 
- 
Constructor Detail- 
EventTimelinepublic EventTimeline() 
 - 
EventTimelinepublic EventTimeline(java.util.List<Event> events) 
 
- 
 - 
Method Detail- 
getStartpublic java.util.Date getStart() 
 - 
getEndpublic java.util.Date getEnd() 
 - 
peekpublic java.util.Date peek() 
 - 
getEventTimespublic java.util.List<java.util.Date> getEventTimes() Returns a list of all the times that have events, for use in building a timeline.
 - 
resetPositionpublic void resetPosition() Resets internal tracking back to the start.
 - 
hasMorepublic boolean hasMore() Returns true if there are additional events beyond the current position.
 - 
nextChartStatuspublic ChartStatus nextChartStatus() Returns the next chart status and moves the position forward.
 - 
seekTopublic void seekTo(java.util.Date position) 
 - 
seekTopublic void seekTo(Event event) 
 - 
getEventspublic java.util.List<Event> getEvents() 
 - 
peekEventpublic Event peekEvent() 
 - 
previousEventpublic Event previousEvent() 
 - 
getStartEventpublic Event getStartEvent() 
 - 
getEndEventpublic Event getEndEvent() 
 
- 
 
-