|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.ui.standard.unit_display_info.RoverDisplayInfoBean
public class RoverDisplayInfoBean
Provides display information about a rover.
Constructor Summary | |
---|---|
RoverDisplayInfoBean()
Constructor |
Method Summary | |
---|---|
javax.swing.Icon |
getButtonIcon()
Gets icon for unit button. |
double |
getMapClickRange()
Gets the range (km) for clicking on unit on navigator map. |
java.awt.Font |
getMapLabelFont()
Gets the label font for navigator map. |
java.lang.String |
getSound(Unit unit)
Gets a sound appropriate for this unit. |
java.awt.Color |
getSurfGlobeColor()
Gets display color for surface globe. |
javax.swing.Icon |
getSurfMapIcon(Unit unit)
Gets display icon for the surface navigator map. |
java.awt.Color |
getSurfMapLabelColor()
Gets the label color for surface navigator map. |
java.awt.Color |
getTopoGlobeColor()
Gets display color for topo globe. |
javax.swing.Icon |
getTopoMapIcon(Unit unit)
Gets display icon for topo navigator map. |
java.awt.Color |
getTopoMapLabelColor()
Gets the label color for topo navigator map. |
boolean |
isGlobeDisplayed(Unit unit)
Checks if the unit is to be displayed on the navigator tool globe. |
boolean |
isMapBlink(Unit unit)
Checks if the map icon should blink on and off. |
boolean |
isMapDisplayed(Unit unit)
Checks if unit is to be displayed on the navigator tool map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoverDisplayInfoBean()
Method Detail |
---|
public javax.swing.Icon getButtonIcon()
UnitDisplayInfo
public java.lang.String getSound(Unit unit)
UnitDisplayInfo
unit
- the unit to display.
public boolean isMapDisplayed(Unit unit)
isMapDisplayed
in interface UnitDisplayInfo
unit
- the unit to display
public javax.swing.Icon getSurfMapIcon(Unit unit)
getSurfMapIcon
in interface UnitDisplayInfo
unit
- the unit to display
public javax.swing.Icon getTopoMapIcon(Unit unit)
getTopoMapIcon
in interface UnitDisplayInfo
unit
- the unit to display
public boolean isMapBlink(Unit unit)
isMapBlink
in interface UnitDisplayInfo
unit
- the unit to display
public java.awt.Color getSurfMapLabelColor()
getSurfMapLabelColor
in interface UnitDisplayInfo
public java.awt.Color getTopoMapLabelColor()
getTopoMapLabelColor
in interface UnitDisplayInfo
public java.awt.Font getMapLabelFont()
getMapLabelFont
in interface UnitDisplayInfo
public double getMapClickRange()
getMapClickRange
in interface UnitDisplayInfo
public boolean isGlobeDisplayed(Unit unit)
isGlobeDisplayed
in interface UnitDisplayInfo
unit
- the unit to display.
public java.awt.Color getSurfGlobeColor()
getSurfGlobeColor
in interface UnitDisplayInfo
public java.awt.Color getTopoGlobeColor()
getTopoGlobeColor
in interface UnitDisplayInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |