|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdip.gui.order.GUIOrder.MapInfo
dip.gui.map.DefaultMapRenderer2.DMRMapInfo
Implicit class for MapInfo interface
Field Summary |
Fields inherited from class dip.gui.order.GUIOrder.MapInfo |
ts |
Constructor Summary | |
DefaultMapRenderer2.DMRMapInfo(TurnState ts)
|
Method Summary | |
Power[] |
getDisplayablePowers()
Array of Powers whose orders are displayed; if not in array, order is hidden. |
org.w3c.dom.svg.SVGDocument |
getDocument()
Gets the SVG Document |
MapMetadata |
getMapMetadata()
Get MapMetadata information |
java.lang.String |
getPowerCSS(Power power)
Gets the CSS style for a given Power |
org.w3c.dom.svg.SVGGElement |
getPowerSVGGElement(Power p,
int z)
Gets the SVG G Element for this power, under which an order should be drawn. |
java.lang.String |
getSymbolName(Unit.Type unitType)
Gets the Symbol Name for a given unit type |
java.lang.String |
getUnitCSS(Power power)
Gets the CSS style for a given Power's units |
Methods inherited from class dip.gui.order.GUIOrder.MapInfo |
getTurnState, isReviewMode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultMapRenderer2.DMRMapInfo(TurnState ts)
Method Detail |
public MapMetadata getMapMetadata()
GUIOrder.MapInfo
getMapMetadata
in class GUIOrder.MapInfo
public java.lang.String getPowerCSS(Power power)
GUIOrder.MapInfo
getPowerCSS
in class GUIOrder.MapInfo
public java.lang.String getUnitCSS(Power power)
GUIOrder.MapInfo
getUnitCSS
in class GUIOrder.MapInfo
public java.lang.String getSymbolName(Unit.Type unitType)
GUIOrder.MapInfo
getSymbolName
in class GUIOrder.MapInfo
public org.w3c.dom.svg.SVGDocument getDocument()
GUIOrder.MapInfo
getDocument
in class GUIOrder.MapInfo
public Power[] getDisplayablePowers()
GUIOrder.MapInfo
getDisplayablePowers
in class GUIOrder.MapInfo
public org.w3c.dom.svg.SVGGElement getPowerSVGGElement(Power p, int z)
GUIOrder.MapInfo
getPowerSVGGElement
in class GUIOrder.MapInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |