|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdip.gui.order.GUIOrder.MapInfo
Allows GUIOrder objects to ascertain information about other GUIOrders and obtain Map metadata information.
Field Summary | |
protected TurnState |
ts
|
Constructor Summary | |
protected |
GUIOrder.MapInfo()
Do-nothing constructor |
|
GUIOrder.MapInfo(TurnState ts)
Creates a MapInfo object |
Method Summary | |
Power[] |
getDisplayablePowers()
Array of Powers whose orders are displayed; if not in array, order is hidden. |
abstract org.w3c.dom.svg.SVGDocument |
getDocument()
Gets the SVG Document |
abstract MapMetadata |
getMapMetadata()
Get MapMetadata information |
abstract java.lang.String |
getPowerCSS(Power power)
Gets the CSS style for a given Power |
abstract 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. |
abstract java.lang.String |
getSymbolName(Unit.Type unitType)
Gets the Symbol Name for a given unit type |
TurnState |
getTurnState()
Get TurnState (to get Orders, Phase, Position, etc.) |
abstract java.lang.String |
getUnitCSS(Power power)
Gets the CSS style for a given Power's units |
boolean |
isReviewMode()
Flag indicating if we are in review mode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected TurnState ts
Constructor Detail |
public GUIOrder.MapInfo(TurnState ts)
protected GUIOrder.MapInfo()
Method Detail |
public abstract MapMetadata getMapMetadata()
public TurnState getTurnState()
public abstract java.lang.String getPowerCSS(Power power)
public abstract java.lang.String getUnitCSS(Power power)
public abstract java.lang.String getSymbolName(Unit.Type unitType)
public abstract org.w3c.dom.svg.SVGDocument getDocument()
public boolean isReviewMode()
public Power[] getDisplayablePowers()
public abstract org.w3c.dom.svg.SVGGElement getPowerSVGGElement(Power p, int z)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |