|
||||||||||
| 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.NavpointMapLayer
public class NavpointMapLayer
The NavpointMapLayer is a graphics layer to display mission navpoints.
| Constructor Summary | |
|---|---|
NavpointMapLayer(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. |
void |
setSelectedNavpoint(NavPoint selectedNavpoint)
Sets a navpoint to be selected and displayed differently than the others. |
void |
setSingleMission(Mission singleMission)
Sets the single mission to display navpoints for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NavpointMapLayer(java.awt.Component displayComponent)
displayComponent - the display component.| Method Detail |
|---|
public void setSingleMission(Mission singleMission)
singleMission - the mission to display navpoints for.public void setSelectedNavpoint(NavPoint selectedNavpoint)
selectedNavpoint - the selected navpoint.
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||