com.bbn.openmap.graphicLoader (OpenMap API)
Date: 2016-12-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.bbn.openmap.graphicLoader

The GraphicLoader package is designed to provide support for components that need to drive changes in OMGraphics over a map.

See:
Description

Interface Summary
GraphicLoader | The interface that describes an object that supplies updates to OMGraphics presented by the GraphicLoaderPlugIn.

Class Summary
AbstractGraphicLoader | The abstract AbstractGraphicLoader class is an OMGraphic managing object.
GLPoint | A GLPoint is a location on the map.
LOSGraphicLoader | A managing object of GLPoints and PathGLPoints.
MMLGraphicLoader | The MMLGraphicLoader is an abstract GraphicLoader class that implements the MapMouseListener interface.
PathGLPoint | The PathGLPoint is a GLPoint that follows a certain path, as opposed to just wandering around randomly.

## Package com.bbn.openmap.graphicLoader Description

The GraphicLoader package is designed to provide support for components that need to drive changes in OMGraphics over a map. The GraphicLoader is an object that manages OMGraphics and their positions, and sends an OMGraphicList to its receiver when they need to be updated. The AbstractGraphicLoader contains a timer that can be used to schedule updates to happen at regular updates.

The package consists of a GraphicLoader, the interface that describes a component that controls OMGraphics. The GraphicLoader can have its own timer that manages these location objects in a separate thread. The MMLGraphicLoader is an abstract extension to the AbstractGraphicLoader that can receive MouseEvents that occur over the map, in order to react accordingly.

The LOSGraphicLoader is an example of a GraphicLoader. It manages GLPoints and PathGLPoints, along with a DTEDFrameCache (found in the MapHandler). The GLPoints are moved around the map, and links are drawn between those points that have LOS between them.

To add a GraphicLoader to the OpenMap application, you can do it several ways:

- You can create a specific GraphicLoaderPlugIn that creates its own GraphicLoader, and initializes it accordingly. You would add the GraphicLoaderPlugIn to the openmap.layers property in the openmap.properties file.
- You can create a com.bbn.openmap.plugin.graphicLoader.GraphicLoaderPlugIn by adding an entry to the openmap.layer property in the openmap.properties file, and define what kind of GraphicLoader to create in the properties for the GraphicLoaderPlugIn.
- You can add a com.bbn.openmap.plugin.graphicLoader.GraphicLoaderConnector to the openmap.components property, and then add the GraphicLoader to the openmap.components property as well. The GraphicLoaderConnector will find the GraphicLoader, and create a GraphicLoaderPlugIn/PlugInLayer for the GraphicLoader and add it to the LayerHandler on top of the map.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

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