Uses of Class
dip.world.Power

Packages that use Power
dip.gui   
dip.gui.map   
dip.gui.order   
dip.gui.undo   
dip.net.message   
dip.order   
dip.order.result   
dip.process   
dip.world   
dip.world.variant.data   
 

Uses of Power in dip.gui
 

Methods in dip.gui that return Power
 Power F2FOrderDisplayPanel.F2FState.getCurrentPower()
          The current power (or null) who is entering orders.
 Power[] ClientMenu.getOrderDrawingPowers()
          Gets which powers are selected for drawing.
 Power[] ClientFrame.getOrderablePowers()
          Returns the Powers for which orders may be entered.
 Power[] ClientFrame.getDisplayablePowers()
          Returns the Powers which for which orders may be displayed.
 

Methods in dip.gui with parameters of type Power
 void OrderDisplayPanel.ODPPropertyListener.actionOrderablePowersChanged(Power[] oldPowers, Power[] newPowers)
           
 void OrderDisplayPanel.ODPPropertyListener.actionDisplayablePowersChanged(Power[] oldPowers, Power[] newPowers)
           
 void ClientMenu.setSelected(Power power, boolean value)
           
 void ClientFrame.fireDisplayablePowersChanged(Power[] oldPowers, Power[] newPowers)
          Fired when displayed orders have changed
 void ClientFrame.fireOrderablePowersChanged(Power[] oldPowers, Power[] newPowers)
          Fired when Powers for which orders may be entered have changed
 void AbstractCFPListener.actionOrderablePowersChanged(Power[] oldPowers, Power[] newPowers)
          Invoked when the orderable Powers have changed
 void AbstractCFPListener.actionDisplayablePowersChanged(Power[] oldPowers, Power[] newPowers)
          Invoked when the displayable Powers have changed
 

Constructors in dip.gui with parameters of type Power
F2FOrderDisplayPanel.F2FState(Power currentPower, boolean[] tabState)
          Create an F2FState object
 

Uses of Power in dip.gui.map
 

Fields in dip.gui.map declared as Power
protected  Power[] RenderCommandFactory.RCSetPowerOrdersDisplayed.displayedPowers
           
 

Methods in dip.gui.map that return Power
 Power[] DefaultMapRenderer2.DMRMapInfo.getDisplayablePowers()
           
 

Methods in dip.gui.map with parameters of type Power
abstract  RenderCommandFactory.RCSetPowerOrdersDisplayed RenderCommandFactory.createRCSetPowerOrdersDisplayed(MapRenderer2 mr, Power[] displayedPowers)
           
protected abstract  void MapRenderer2.displayablePowersChanged(Power[] powers)
          Called when the displayable powers have changed
 java.lang.String MapMetadata.getPowerColor(Power power)
          Get power color (the color of orders associated w/a power
 void EditControlBar.changeSCOwner(Province province, Power newPower)
          Change the supply center owner of a province; does not generate an undo/redo event.
 RenderCommandFactory.RCSetPowerOrdersDisplayed DMR2RenderCommandFactory.createRCSetPowerOrdersDisplayed(MapRenderer2 mr, Power[] displayedPowers)
           
protected  void DefaultMapRenderer2.displayablePowersChanged(Power[] diplayPowers)
          Called when the displayable powers have changed
 java.lang.String DefaultMapRenderer2.Tracker.getPowerCSSClass(Power power)
          Returns the CSS class for the power, or, the original CSS defined in the SVG file (if available) if power is null.
 java.lang.String DefaultMapRenderer2.DMRMapInfo.getPowerCSS(Power power)
           
 java.lang.String DefaultMapRenderer2.DMRMapInfo.getUnitCSS(Power power)
           
 org.w3c.dom.svg.SVGGElement DefaultMapRenderer2.DMRMapInfo.getPowerSVGGElement(Power p, int z)
           
 

Constructors in dip.gui.map with parameters of type Power
RenderCommandFactory.RCSetPowerOrdersDisplayed(MapRenderer2 mr, Power[] displayedPowers)
          Constructor
DMR2RenderCommandFactory.RCSetPowerOrdersDisplayed(MapRenderer2 dmr2, Power[] powers)
           
 

Uses of Power in dip.gui.order
 

Methods in dip.gui.order that return Power
 Power[] GUIOrder.MapInfo.getDisplayablePowers()
          Array of Powers whose orders are displayed; if not in array, order is hidden.
 

Methods in dip.gui.order with parameters of type Power
 Hold GUIOrderFactory.createHold(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIHold order
 Move GUIOrderFactory.createMove(Power power, Location source, Unit.Type srcUnitType, Location dest)
          Creates a GUIMove order
 Move GUIOrderFactory.createMove(Power power, Location source, Unit.Type srcUnitType, Location dest, boolean isConvoying)
          Creates a GUIMove order
 Move GUIOrderFactory.createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
          Creates a GUIMove order
 Move GUIOrderFactory.createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
          Creates a GUIMove order
 Support GUIOrderFactory.createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType)
          Creates a GUISupport order, to Support a unit staying in place.
 Support GUIOrderFactory.createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType, Location supDest)
          Creates a GUISupport order, to Support a unit moving (or staying in place, if supDest == null)
 Convoy GUIOrderFactory.createConvoy(Power power, Location src, Unit.Type srcUnitType, Location convoySrc, Power convoyPower, Unit.Type convoySrcUnitType, Location convoyDest)
          Creates a GUIConvoy order
 Retreat GUIOrderFactory.createRetreat(Power power, Location source, Unit.Type srcUnitType, Location dest)
          Creates a GUIRetreat order
 Disband GUIOrderFactory.createDisband(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIDisband order
 Build GUIOrderFactory.createBuild(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIBuild order
 Remove GUIOrderFactory.createRemove(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIRemove order
 Waive GUIOrderFactory.createWaive(Power power, Location source)
          Creates a GUIWaive order
 DefineState GUIOrderFactory.createDefineState(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIDefineState order
 boolean GUIOrder.StateInfo.canIssueOrder(Power power)
          Determines if the player can issue orders for this power
abstract  java.lang.String GUIOrder.MapInfo.getPowerCSS(Power power)
          Gets the CSS style for a given Power
abstract  java.lang.String GUIOrder.MapInfo.getUnitCSS(Power power)
          Gets the CSS style for a given Power's units
abstract  org.w3c.dom.svg.SVGGElement GUIOrder.MapInfo.getPowerSVGGElement(Power p, int z)
          Gets the SVG G Element for this power, under which an order should be drawn.
 

Constructors in dip.gui.order with parameters of type Power
GUIWaive(Power power, Location source)
          Creates a GUIWaive
GUISupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType)
          Creates a GUISupport
GUISupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType, Location supDest)
          Creates a GUISupport
GUIRetreat(Power power, Location source, Unit.Type sourceUnitType, Location dest)
          Creates a GUIRetreat
GUIRemove(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIRemove
GUIMoveExplicit(Power power, Location source, Unit.Type srcUnitType, Location dest, boolean isConvoying)
          Creates a GUIMoveExplicit
GUIMoveExplicit(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
          Creates a GUIMoveExplicit
GUIMoveExplicit(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
          Creates a GUIMoveExplicit
GUIMove(Power power, Location source, Unit.Type srcUnitType, Location dest, boolean isConvoying)
          Creates a GUIMove
GUIMove(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
          Creates a GUIMove
GUIMove(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
          Creates a GUIMove
GUIHold(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIHold
GUIDisband(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIDisband
GUIDefineState(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIDefineState
GUIConvoy(Power power, Location src, Unit.Type srcUnitType, Location convoySrc, Power convoyPower, Unit.Type convoySrcUnitType, Location convoyDest)
          Creates a GUIConvoy
GUIBuild(Power power, Location source, Unit.Type sourceUnitType)
          Creates a GUIBuild
 

Uses of Power in dip.gui.undo
 

Constructors in dip.gui.undo with parameters of type Power
UndoEditSCOwner(UndoRedoManager urm, Position position, Province province, Power oldPower, Power newPower)
           
 

Uses of Power in dip.net.message
 

Methods in dip.net.message that return Power
 Power MID.getPower()
          Get the Power (or null, if unknown or not applicable) associated with the ID
 

Constructors in dip.net.message with parameters of type Power
MID(Power power, java.lang.String name)
          Create an MID
 

Uses of Power in dip.order
 

Fields in dip.order declared as Power
protected  Power Support.supPower
           
protected  Power Order.power
          Power who gave the order to the unit
protected  Power Convoy.convoyPower
           
 

Methods in dip.order that return Power
 Power Support.getSupportedPower()
          Returns the Power of the Unit we are Supporting.
 Power Orderable.getPower()
          Gets the Power ordering the ordered Source unit
 Power Order.getPower()
           
 Power NJudgeOrderParser.NJudgeOrder.getAdjustmentPower()
          Returns the power for special adjustment orders, which are obtained via the methods: getUnusedPendingBuilds() getUnusedPendingWaives() isWaivedBuild() This will throw an IllegalStateException() if we are not in the adjustment phase.
 Power Convoy.getConvoyedPower()
          Returns the Power of the Unit we are Convoying.
 

Methods in dip.order with parameters of type Power
 Order OrderParser.parse(OrderFactory orderFactory, java.lang.String text, Power power, TurnState turnState, boolean locked, boolean guess)
          Parse an order to an Order object.
static java.lang.String OrderFormat.format(OrderFormatOptions ofo, Power power)
          Format a Power given the order formatting parameters.
abstract  Hold OrderFactory.createHold(Power power, Location source, Unit.Type sourceUnitType)
          Creates a Hold order
abstract  Move OrderFactory.createMove(Power power, Location source, Unit.Type srcUnitType, Location dest)
          Creates a Move order
abstract  Move OrderFactory.createMove(Power power, Location source, Unit.Type srcUnitType, Location dest, boolean isConvoying)
          Creates a Move order
abstract  Move OrderFactory.createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
          Creates a Move order
abstract  Move OrderFactory.createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
          Creates a Move order
abstract  Support OrderFactory.createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType)
          Creates a Support order, to Support a unit staying in place.
abstract  Support OrderFactory.createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType, Location supDest)
          Creates a Support order, to Support a unit moving (or staying in place, if supDest == null)
abstract  Convoy OrderFactory.createConvoy(Power power, Location src, Unit.Type srcUnitType, Location convoySrc, Power convoyPower, Unit.Type convoySrcUnitType, Location convoyDest)
          Creates a Convoy order
abstract  Retreat OrderFactory.createRetreat(Power power, Location source, Unit.Type srcUnitType, Location dest)
          Creates a Retreat order
abstract  Disband OrderFactory.createDisband(Power power, Location source, Unit.Type sourceUnitType)
          Creates a Disband order
abstract  Build OrderFactory.createBuild(Power power, Location source, Unit.Type sourceUnitType)
          Creates a Build order
abstract  Remove OrderFactory.createRemove(Power power, Location source, Unit.Type sourceUnitType)
          Creates a Remove order
abstract  Waive OrderFactory.createWaive(Power power, Location source)
          Creates a Waive order
abstract  DefineState OrderFactory.createDefineState(Power power, Location source, Unit.Type sourceUnitType)
          Creates a DefineState order
protected  void Order.checkPower(Power power, TurnState turnState, boolean checkIfActive)
          Validates the given Power
 

Constructors in dip.order with parameters of type Power
Waive(Power power, Location src)
          Creates a Waive order
Support(Power power, Location src, Unit.Type srcUnit, Location supSrc, Power supPower, Unit.Type supUnit)
          Creates a Support order, for supporting a Hold or other non-movement order.
Support(Power power, Location src, Unit.Type srcUnit, Location supSrc, Power supPower, Unit.Type supUnit, Location supDest)
          Creates a Support order, for Supporting a Move order.
Retreat(Power power, Location src, Unit.Type srcUnitType, Location dest)
          Creates a Retreat order
Remove(Power power, Location src, Unit.Type srcUnit)
          Creates a Remove order
Order(Power power, Location src, Unit.Type srcUnit)
          Constructor for the Order object
NJudgeOrderParser.NJudgeOrder(Power power, int unusedPendingBuilds, int unusedPendingWaives, Result result)
          Create an Adjustment-phase NJudgeOrder for unused pending Builds, or pending Waives, but not both.
NJudgeOrderParser.NJudgeOrder(Power power, Result result)
          Create an Adjustment-phase NJudgeOrder for a Waived Build.
Move(Power power, Location src, Unit.Type srcUnitType, Location dest)
          Creates a Move order
Move(Power power, Location src, Unit.Type srcUnitType, Location dest, boolean isConvoying)
          Creates a Move order, with optional convoy preference.
Move(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
          Creates a Move order with an explicit convoy route.
Move(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
          Creates a Move order with multiple explicit convoy routes.
Hold(Power power, Location src, Unit.Type srcUnit)
          Creates a Hold order
Disband(Power power, Location src, Unit.Type srcUnit)
          Creates a Disband order
DefineState(Power power, Location src, Unit.Type srcUnit)
           
Convoy(Power power, Location src, Unit.Type srcUnit, Location convoySrc, Power convoyPower, Unit.Type convoyUnitType, Location convoyDest)
          Creates a Convoy order
Build(Power power, Location src, Unit.Type srcUnit)
          Creates a Build order
 

Uses of Power in dip.order.result
 

Fields in dip.order.result declared as Power
protected  Power Result.power
          The Power to whom this Result applies; null if it applies to everyone
 

Methods in dip.order.result that return Power
 Power Result.getPower()
          Get the Power (or null if none) for whom this result is intended.
 

Constructors in dip.order.result with parameters of type Power
TimeResult(Power power, java.lang.String resource)
          A TimeStamped result, applicable to a particular power.
Result(Power power, java.lang.String message)
          Create a Result, that is for the given Power.
 

Uses of Power in dip.process
 

Methods in dip.process that return Power
 Power OrderState.getPower()
          Convenicent method: get the order Power
 

Methods in dip.process with parameters of type Power
static Adjustment.AdjustmentInfo Adjustment.getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power power)
          Determines AdjustmentInfo for a given power Note that this will work during any phase.
static Adjustment.AdjustmentInfoMap Adjustment.getAdjustmentInfo(TurnState turnState, RuleOptions ruleOpts, Power[] powers)
          Determines AdjustmentInfo for all Powers; Note that this will work during any phase.
 Adjustment.AdjustmentInfo Adjustment.AdjustmentInfoMap.get(Power power)
          Gets AdjustmentInfo for a power.
 

Uses of Power in dip.world
 

Fields in dip.world declared as Power
protected  Power Unit.owner
           
 

Methods in dip.world that return Power
 Power Unit.getPower()
          Get the Power who controls this Unit
 Power Position.getSupplyCenterHomePower(Province province)
          Get the home power of the supply center; null if no supply center or home power
 Power Position.getSupplyCenterOwner(Province province)
          Get the owner of the supply center; null if no owner or no supply center.
 Power Position.getLastOccupier(Province province)
          Returns the Power that last occupied a given space.
 Power[] Map.getPowers()
          Returns an Array of all Powers.
 Power Map.getPower(java.lang.String name)
          Returns the power that matches name.
 Power Map.getClosestPower(java.lang.String powerName)
          Returns the closest Power to the given input String.
 Power Map.getPowerMatching(java.lang.String powerName)
          Returns the Power that matches the powerName.
 Power Map.getFirstPower(java.lang.String input)
          If a power token is specified (e.g., France), returns the token as a String.
 

Methods in dip.world with parameters of type Power
 void World.setPowerState(Power power, java.lang.Object state)
          Sets any special per-power state information that is not associated with a particular TurnState.
 java.lang.Object World.getPowerState(Power power)
          Gets any special per-power state information that is not associated with a particular TurnState.
 void World.setPlayerMetadata(Power power, PlayerMetadata pmd)
          Sets the metadata for a player, referenced by Power
 PlayerMetadata World.getPlayerMetadata(Power power)
          Gets the metadata for a power.
 java.util.List TurnState.getOrders(Power power)
          Returns the List of orders for a given Power.
 void TurnState.setOrders(Power power, java.util.List list)
          Sets the orders for the given Power, deleting any existing orders for the power
 boolean Position.isEliminated(Power power)
          Returns true if this Power has been eliminated.
 void Position.setEliminated(Power power, boolean value)
          Set whether this Power has been eliminated.
 void Position.setEliminationStatus(Power[] powers)
          Scans the Position; sets/unsets elimination depending upon if a given Power has any units (including dislodged units) or supply centers on the map
 void Position.setSupplyCenterOwner(Province province, Power power)
          Set the owner of the supply center.
 void Position.setSupplyCenterHomePower(Province province, Power power)
          Set the owner of a home supply center.
 void Position.setLastOccupier(Province province, Power power)
          Sets the Power that last occupied a given space.
 Province[] Position.getHomeSupplyCenters(Power power)
          Returns an Array of the Home Supply Centers for a given power (whether or not they are owned by that power)
 boolean Position.hasAnOwnedHomeSC(Power power)
          Determines if a Power has at least one owned Home Supply Center.
 Province[] Position.getOwnedSupplyCenters(Power power)
          Returns an Array of the owned Supply Centers for a given Power (whether or not they are home supply centers)
 Province[] Position.getUnitProvinces(Power power)
          Gets all the Provinces with non-dislodged Units for a particular power.
 Province[] Position.getDislodgedUnitProvinces(Power power)
          Gets all the Provinces with dislodged Units for a particular power.
 

Constructors in dip.world with parameters of type Power
Unit(Power power, Unit.Type unitType)
          Creates a new Unit
Map(Power[] powerArray, Province[] provinceArray)
          Constructs a Map object.
 

Uses of Power in dip.world.variant.data
 

Methods in dip.world.variant.data that return Power
 Power[] Variant.getPowers()
          Returns Powers associated with this Variant.
 



Copyright 2002-2004 Zachary DelProposto / jDip Development Team. All Rights Reserved.