org.mars_sim.msp.ui.standard.tool.map
Class ShadingMapLayer

java.lang.Object
  extended by org.mars_sim.msp.ui.standard.tool.map.ShadingMapLayer
All Implemented Interfaces:
MapLayer

public class ShadingMapLayer
extends java.lang.Object
implements MapLayer

The ShadingMapLayer is a graphics layer to display twilight and night time shading.


Constructor Summary
ShadingMapLayer(java.awt.Component displayComponent)
          Constructor
 
Method Summary
 void displayLayer(Coordinates mapCenter, java.lang.String mapType, java.awt.Graphics g)
          Displays the layer on the map image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadingMapLayer

public ShadingMapLayer(java.awt.Component displayComponent)
Constructor

Parameters:
displayComponent - the display component.
Method Detail

displayLayer

public void displayLayer(Coordinates mapCenter,
                         java.lang.String mapType,
                         java.awt.Graphics g)
Displays the layer on the map image.

Specified by:
displayLayer in interface MapLayer
Parameters:
mapCenter - the location of the center of the map.
mapType - the type of map.
g - graphics context of the map display.