org.mars_sim.msp.ui.standard.tool.map
Interface Map

All Known Implementing Classes:
CannedMarsMap, SurfMarsMap, TopoMarsMap, USGSMarsMap

public interface Map

The Map interface represents a map usable by the MapDisplay class.


Field Summary
static int DISPLAY_HEIGHT
           
static int DISPLAY_WIDTH
           
 
Method Summary
 void drawMap(Coordinates newCenter)
          Creates a 2D map at a given center point.
 java.awt.Image getMapImage()
          Gets the constructed map image.
 boolean isImageDone()
          Checks if a requested map is complete.
 

Field Detail

DISPLAY_HEIGHT

static final int DISPLAY_HEIGHT
See Also:
Constant Field Values

DISPLAY_WIDTH

static final int DISPLAY_WIDTH
See Also:
Constant Field Values
Method Detail

drawMap

void drawMap(Coordinates newCenter)
             throws java.lang.Exception
Creates a 2D map at a given center point.

Parameters:
newCenter - the new center location
Throws:
java.lang.Exception - if error in drawing map.

isImageDone

boolean isImageDone()
Checks if a requested map is complete.

Returns:
true if requested map is complete

getMapImage

java.awt.Image getMapImage()
Gets the constructed map image.

Returns:
constructed map image