The super constructor of implementors of TradeFactoryListener.
classes implementing TradeFactoryListener are informed whenever a trade factory creates a trade.
- Implementations:
- module:caplin/trading/grid/TradeModelRowSource
- module:caplin/trading/service/WorkbenchTradeService
- module:caplin/trading/trademodel/CaplinTradeService
- module:caplin/trading/trademodel/FilteredTradeFactoryListener~FilteredTradeFactoryListener
Methods
-
tradeCreated(oTradeFactory, oTrade)
-
Notifies the listener that a trade has been created using the given factory.
Parameters:
Name Type Description oTradeFactory
module:caplin/trading/trademodel/TradeFactory The trade factory used to create the trade. oTrade
module:caplin/trading/trademodel/Trade The newly created trade. - Implementations:
- module:caplin/trading/grid/TradeModelRowSource#tradeCreated
- module:caplin/trading/service/WorkbenchTradeService#tradeCreated
- module:caplin/trading/trademodel/FilteredTradeFactoryListener~FilteredTradeFactoryListener#tradeCreated
-
tradeRemoved(oTrade, sTradeID)
-
Notifies the listener that a trade has been removed.
Parameters:
Name Type Description oTrade
module:caplin/trading/trademodel/Trade The removed trade. sTradeID
String The Id for oTrade - Implementations:
- module:caplin/trading/grid/TradeModelRowSource#tradeRemoved
- module:caplin/trading/service/WorkbenchTradeService#tradeRemoved
- module:caplin/trading/trademodel/FilteredTradeFactoryListener~FilteredTradeFactoryListener#tradeRemoved