com.partnersoft.maps.model
Class InteractiveMapDataSet

java.lang.Object
  extended by com.partnersoft.maps.model.AbstractMapDataSet
      extended by com.partnersoft.maps.model.InteractiveMapDataSet
All Implemented Interfaces:
MapDataSet

public class InteractiveMapDataSet
extends AbstractMapDataSet

A MapDataSet that allows you to modify and edit its contents. This is done through a graphic entity object model, but the entities are rendered to rover bytes for speed and such.

Author:
Paul Reavis Copyright 2004

Constructor Summary
InteractiveMapDataSet()
           
 
Method Summary
 void addPoint(double x, double y)
           
 MapDataItem fetchDataItem(int dataID)
          Subclasses must also provide this facility.
 java.lang.String getName()
           
 RoverBytes graphicsFor(int dataID)
          All subclasses must provide this facility.
 RoverBytes[] graphicsInside(MapViewFrame frame)
          All subclasses must provide this facility.
 void setName(java.lang.String newName)
           
 
Methods inherited from class com.partnersoft.maps.model.AbstractMapDataSet
addChangeListener, fireChanged, removeChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveMapDataSet

public InteractiveMapDataSet()
Method Detail

graphicsInside

public RoverBytes[] graphicsInside(MapViewFrame frame)
All subclasses must provide this facility. It represents a graphical query for the given area with the given LOD.


graphicsFor

public RoverBytes graphicsFor(int dataID)
All subclasses must provide this facility. It returns the hilite graphics for the given object ID.


fetchDataItem

public MapDataItem fetchDataItem(int dataID)
Subclasses must also provide this facility. It returns an appropriate MapDataItem for the given ID.


addPoint

public void addPoint(double x,
                     double y)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String newName)