|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.ui.standard.tool.map.ExploredSiteMapLayer
public class ExploredSiteMapLayer
| Constructor Summary | |
|---|---|
ExploredSiteMapLayer(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. |
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
setDisplayMined(boolean displayMined)
Should mined sites be displayed? |
void |
setDisplayReserved(boolean displayReserved)
Should reserved sites be displayed? |
void |
setSelectedSite(ExploredLocation selectedSite)
Sets the selected site. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExploredSiteMapLayer(java.awt.Component displayComponent)
displayComponent - the display component.| Method Detail |
|---|
public void setDisplayMined(boolean displayMined)
displayMined - true if display mined sites.public void setDisplayReserved(boolean displayReserved)
displayReserved - true if display reserved sites.public void setSelectedSite(ExploredLocation selectedSite)
selectedSite - the selected site.
public void displayLayer(Coordinates mapCenter,
java.lang.String mapType,
java.awt.Graphics g)
displayLayer in interface MapLayermapCenter - the location of the center of the map.mapType - the type of map.g - graphics context of the map display.public int getIconWidth()
public int getIconHeight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||