market.stdform
Class FSManagerPurchase
java.lang.Object
|
+--market.stdform.FSManagerPurchase
- public class FSManagerPurchase
- extends Object
This FormSheet is used by the manager to purchase new items for the market's stock.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FSManagerPurchase
public FSManagerPurchase()
create
public static TwoTableFormSheet create(UIGate gate,
CountingStock cs,
DataBasket db)
- Creates a
TwoTableFormSheet
. The look of the table is defined by the
TEDManagerPurchase
.
- Parameters:
gate
- the gate on which the TwoTableFormSheet should be displayed. It must not be null,
because a valid gate is needed to enable the shifting of items between the tables.cs
- the CountingStock in which the items that the manager selected for purchase are stored.db
- the transaction's DataBasket.
- Returns:
- the created TwoTableFormSheet.