|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnitDisplayInfo
Provides display information about a unit.
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. |
Method Detail |
---|
boolean isMapDisplayed(Unit unit)
unit
- the unit to display
javax.swing.Icon getSurfMapIcon(Unit unit)
unit
- the unit to display
javax.swing.Icon getTopoMapIcon(Unit unit)
unit
- the unit to display
boolean isMapBlink(Unit unit)
unit
- the unit to display
java.awt.Color getSurfMapLabelColor()
java.awt.Color getTopoMapLabelColor()
java.awt.Font getMapLabelFont()
double getMapClickRange()
boolean isGlobeDisplayed(Unit unit)
unit
- the unit to display.
java.awt.Color getSurfGlobeColor()
java.awt.Color getTopoGlobeColor()
javax.swing.Icon getButtonIcon()
java.lang.String getSound(Unit unit)
unit
- the unit to display.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |