EventImporter (OpenMap API)
Date: 2016-12-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`TemporalOMGraphicList` | `createData(EventLayer callback)` Read the data files and construct the TemporalOMGraphics.

Method Detail

### 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()).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details