com.partnersoft.maps.model
Class MapSpace

java.lang.Object
  extended by com.partnersoft.maps.model.MapSpace

public class MapSpace
extends java.lang.Object

A MapSpace represents a set of map data in the same coordinate system that is suitable for viewing as a single map. It consists of a set of MapDataSets, each with its own legends, datatypes, and graphic types.

Author:
Paul Reavis Copyright 2003-2005 Partner Software, Inc.

Field Summary
 Naming<Script> actions
           
 Script coordinateDisplayScript
           
 CoordinateSystem coordinateSystem
           
 Script dataDisplayScript
           
 Naming<java.util.HashSet> graphicGroups
           
 Script gridDisplayScript
           
 JobRoverSet jobRoverSet
           
 Naming<MapSpaceLegend> legends
           
 Script measureDisplayScript
           
 java.lang.String name
           
 java.lang.String path
           
 RasterSet[] rasterSetsArray
           
 Naming<RoverSet> roverSets
           
 RoverSet[] roverSetsArray
           
 Naming<Script> scripts
           
 
Constructor Summary
MapSpace(MapApp mapApp)
          The applicationObject is passed to all the scripts as the "app" variable.
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener nosey)
           
 MapDataItem dataFor(int roverSetID, int dataID)
           
 FindItemIndex findItemNamed(java.lang.String name)
           
 void fireChanged()
           
 Naming<Script> getActions()
           
 TiledRoverSet getBackgroundMaps()
           
 Naming<FindItemIndex> getFindItems()
           
 Naming<java.util.HashSet> getGraphicGroups()
           
 PolylineStyle getNorthArrowStyle()
           
 TextStyle getNorthArrowTextStyle()
           
 Naming<RoverSet> getRoverSets()
           
 PolylineStyle getScaleReticuleStyle()
           
 TextStyle getScaleReticuleTextStyle()
           
 boolean getShowInvisibleGraphics()
           
 boolean getShowTiles()
           
 MapSpaceLegend legendNamed(java.lang.String name)
           
 MapSet mapSetNamed(java.lang.String name)
           
 void reload()
           
 void removeChangeListener(javax.swing.event.ChangeListener nosey)
           
 RoverSet roverSetNamed(java.lang.String name)
           
 void setShowInvisibleGraphics(boolean showInvisibleGraphics)
           
 void setShowTiles(boolean showTiles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

path

public java.lang.String path

coordinateSystem

public CoordinateSystem coordinateSystem

legends

public Naming<MapSpaceLegend> legends

graphicGroups

public Naming<java.util.HashSet> graphicGroups

scripts

public Naming<Script> scripts

actions

public Naming<Script> actions

roverSets

public Naming<RoverSet> roverSets

roverSetsArray

public transient RoverSet[] roverSetsArray

jobRoverSet

public JobRoverSet jobRoverSet

rasterSetsArray

public RasterSet[] rasterSetsArray

coordinateDisplayScript

public Script coordinateDisplayScript

measureDisplayScript

public Script measureDisplayScript

gridDisplayScript

public Script gridDisplayScript

dataDisplayScript

public Script dataDisplayScript
Constructor Detail

MapSpace

public MapSpace(MapApp mapApp)
The applicationObject is passed to all the scripts as the "app" variable.

Method Detail

reload

public void reload()
            throws java.io.IOException
Throws:
java.io.IOException

dataFor

public MapDataItem dataFor(int roverSetID,
                           int dataID)

findItemNamed

public FindItemIndex findItemNamed(java.lang.String name)

legendNamed

public MapSpaceLegend legendNamed(java.lang.String name)

getGraphicGroups

public Naming<java.util.HashSet> getGraphicGroups()

mapSetNamed

public MapSet mapSetNamed(java.lang.String name)

roverSetNamed

public RoverSet roverSetNamed(java.lang.String name)

getBackgroundMaps

public TiledRoverSet getBackgroundMaps()

getFindItems

public Naming<FindItemIndex> getFindItems()

getActions

public Naming<Script> getActions()

getRoverSets

public Naming<RoverSet> getRoverSets()

getScaleReticuleStyle

public PolylineStyle getScaleReticuleStyle()

getScaleReticuleTextStyle

public TextStyle getScaleReticuleTextStyle()

getNorthArrowStyle

public PolylineStyle getNorthArrowStyle()

getNorthArrowTextStyle

public TextStyle getNorthArrowTextStyle()

getShowInvisibleGraphics

public boolean getShowInvisibleGraphics()

setShowInvisibleGraphics

public void setShowInvisibleGraphics(boolean showInvisibleGraphics)

getShowTiles

public boolean getShowTiles()

setShowTiles

public void setShowTiles(boolean showTiles)

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener nosey)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener nosey)

fireChanged

public void fireChanged()