|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dip.order.OrderFactory dip.gui.order.GUIOrderFactory
Creates GUIOrders. All Orders returned will be GUI subclasses of the order objects. Additional no-argument create methods are supplied for specific GUIOrder use.
Constructor Summary | |
GUIOrderFactory()
Creates a GUIOrderFactory |
Method Summary | |
Build |
createBuild(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIBuild order |
Convoy |
createConvoy(Power power,
Location src,
Unit.Type srcUnitType,
Location convoySrc,
Power convoyPower,
Unit.Type convoySrcUnitType,
Location convoyDest)
Creates a GUIConvoy order |
DefineState |
createDefineState(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDefineState order |
Disband |
createDisband(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIDisband order |
GUIBuild |
createGUIBuild()
Creates a GUIBuild order |
GUIConvoy |
createGUIConvoy()
Creates a GUIConvoy order |
GUIDefineState |
createGUIDefineState()
Creates a GUIDefineState order |
GUIDisband |
createGUIDisband()
Creates a GUIDisband order |
GUIHold |
createGUIHold()
Creates a GUIHold order |
GUIMove |
createGUIMove()
Creates a GUIMove order |
GUIMoveExplicit |
createGUIMoveExplicit()
Creates a GUIMoveExplicit order |
GUIRemove |
createGUIRemove()
Creates a GUIRemove order |
GUIRetreat |
createGUIRetreat()
Creates a GUIRetreat order |
GUISupport |
createGUISupport()
Creates a GUISupport order |
GUIWaive |
createGUIWaive()
Creates a GUIWaive order |
Hold |
createHold(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIHold order |
Move |
createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a GUIMove order |
Move |
createMove(Power power,
Location source,
Unit.Type srcUnitType,
Location dest,
boolean isConvoying)
Creates a GUIMove order |
Move |
createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
java.util.List routes)
Creates a GUIMove order |
Move |
createMove(Power power,
Location src,
Unit.Type srcUnitType,
Location dest,
Province[] convoyRoute)
Creates a GUIMove order |
Remove |
createRemove(Power power,
Location source,
Unit.Type sourceUnitType)
Creates a GUIRemove order |
Retreat |
createRetreat(Power power,
Location source,
Unit.Type srcUnitType,
Location dest)
Creates a GUIRetreat order |
Support |
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 |
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) |
Waive |
createWaive(Power power,
Location source)
Creates a GUIWaive order |
Methods inherited from class dip.order.OrderFactory |
getDefault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GUIOrderFactory()
Method Detail |
public GUIHold createGUIHold()
public GUIMove createGUIMove()
public GUIMoveExplicit createGUIMoveExplicit()
public GUISupport createGUISupport()
public GUIConvoy createGUIConvoy()
public GUIRetreat createGUIRetreat()
public GUIDisband createGUIDisband()
public GUIBuild createGUIBuild()
public GUIRemove createGUIRemove()
public GUIWaive createGUIWaive()
public GUIDefineState createGUIDefineState()
public Hold createHold(Power power, Location source, Unit.Type sourceUnitType)
createHold
in class OrderFactory
public Move createMove(Power power, Location source, Unit.Type srcUnitType, Location dest)
createMove
in class OrderFactory
public Move createMove(Power power, Location source, Unit.Type srcUnitType, Location dest, boolean isConvoying)
createMove
in class OrderFactory
public Move createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, Province[] convoyRoute)
createMove
in class OrderFactory
public Move createMove(Power power, Location src, Unit.Type srcUnitType, Location dest, java.util.List routes)
createMove
in class OrderFactory
public Support createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType)
createSupport
in class OrderFactory
public Support createSupport(Power power, Location src, Unit.Type srcUnitType, Location supSrc, Power supPower, Unit.Type supUnitType, Location supDest)
createSupport
in class OrderFactory
public Convoy createConvoy(Power power, Location src, Unit.Type srcUnitType, Location convoySrc, Power convoyPower, Unit.Type convoySrcUnitType, Location convoyDest)
createConvoy
in class OrderFactory
public Retreat createRetreat(Power power, Location source, Unit.Type srcUnitType, Location dest)
createRetreat
in class OrderFactory
public Disband createDisband(Power power, Location source, Unit.Type sourceUnitType)
createDisband
in class OrderFactory
public Build createBuild(Power power, Location source, Unit.Type sourceUnitType)
createBuild
in class OrderFactory
public Remove createRemove(Power power, Location source, Unit.Type sourceUnitType)
createRemove
in class OrderFactory
public Waive createWaive(Power power, Location source)
createWaive
in class OrderFactory
public DefineState createDefineState(Power power, Location source, Unit.Type sourceUnitType) throws OrderException
createDefineState
in class OrderFactory
OrderException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |