com.bbn.openmap.layer.event
Interface EventImporter
- All Known Implementing Classes:
- CSVEventImporter
public interface EventImporter
EventImporter is an object that the EventLayer uses to query a data source
for events/records. It creates a TemporalOMGraphicList for the EventLayer to
use.
- Author:
- dietrick
createData
TemporalOMGraphicList createData(EventLayer callback)
- Read the data files and construct the TemporalOMGraphics. There are four things you need to do in this method.
- Create an TemporalOMGraphicList, add TemporalOMGraphics, return it.
- Set a new TimeBounds object on the callback EventLayer when all the timestamp range is known.
- Add OMEvents to the callback.events list, one for each TemporalPoint created.
- Add locations to callback's DataBounds (callback.getDataBounds()).
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details