com.partnersoft.maps.model
Class DatabaseRoverSet

java.lang.Object
  extended by com.partnersoft.maps.model.RoverSet
      extended by com.partnersoft.maps.model.DatabaseRoverSet

public class DatabaseRoverSet
extends RoverSet


Field Summary
 
Fields inherited from class com.partnersoft.maps.model.RoverSet
areaToGroup, areaTypes, changeGadget, enabled, findItems, groups, imageTypes, legendAliases, lineToGroup, lineTypes, lookups, mapSet, pointToGroup, pointTypes, renderLegends, space, textToGroup, textTypes, viewSettings
 
Constructor Summary
DatabaseRoverSet(MapSpace space, MapSet mapset, int id)
           
 
Method Summary
 MapDataItem dataFor(int dataId)
          This returns the MapDataItem with the given dataID.
 RoverDatabase getDatabase()
           
 int getDataItemCount()
          This returns the number of data items.
 RoverStore getStore()
           
 RoverBytes graphicsFor(int dataID)
          This returns the rover data necessary to render the map data item with the given dataID.
 RoverBytes[] graphicsInside(MapViewFrame frame)
          This returns the rover data necessary to render a given area at the given scale.
 void refresh(MapApp app)
           
 void reload()
           
 
Methods inherited from class com.partnersoft.maps.model.RoverSet
addChangeListener, areaTypeCodeFor, connectivityNamed, drawNameFor, findItemNamed, fireChanged, getAreaTypes, getFindItems, getGroupIDFor, getId, getImageTypes, getLineTypes, getMapSet, getPointTypes, getProfile, getTextTypes, imageTypeCodeFor, isDrawable, isEnabled, lineTypeCodeFor, lookupNamed, pointTypeCodeFor, publish, publish, removeChangeListener, scaleRegionFor, setEnabled, setId, setProfile, textTypeCodeFor, updateGroups
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseRoverSet

public DatabaseRoverSet(MapSpace space,
                        MapSet mapset,
                        int id)
Method Detail

dataFor

public MapDataItem dataFor(int dataId)
Description copied from class: RoverSet
This returns the MapDataItem with the given dataID.

Specified by:
dataFor in class RoverSet

getDataItemCount

public int getDataItemCount()
Description copied from class: RoverSet
This returns the number of data items.

Specified by:
getDataItemCount in class RoverSet

graphicsFor

public RoverBytes graphicsFor(int dataID)
Description copied from class: RoverSet
This returns the rover data necessary to render the map data item with the given dataID. This is used for highlight graphics and derived graphics (e.g. in ops mapsets).

Specified by:
graphicsFor in class RoverSet

graphicsInside

public RoverBytes[] graphicsInside(MapViewFrame frame)
Description copied from class: RoverSet
This returns the rover data necessary to render a given area at the given scale.

Specified by:
graphicsInside in class RoverSet

reload

public void reload()
            throws java.io.IOException
Specified by:
reload in class RoverSet
Throws:
java.io.IOException

refresh

public void refresh(MapApp app)

getStore

public RoverStore getStore()

getDatabase

public RoverDatabase getDatabase()