public class BlockTradeFieldValuesFactory extends java.lang.Object implements CustomFieldValuesFactory<com.caplin.motif.fx.trading.block.BlockTrade,BlockTradeProperties>
CustomFieldValuesFactory.Context
Constructor and Description |
---|
BlockTradeFieldValuesFactory() |
Modifier and Type | Method and Description |
---|---|
CustomFieldValues |
createCustomFieldValues(com.caplin.motif.fx.trading.block.BlockTrade trade,
BlockTradeProperties tradeProperties)
Returns a
CustomFieldValues object. |
void |
initialise(CustomFieldValuesFactory.Context context) |
public void initialise(CustomFieldValuesFactory.Context context)
initialise
in interface CustomFieldValuesFactory<com.caplin.motif.fx.trading.block.BlockTrade,BlockTradeProperties>
public CustomFieldValues createCustomFieldValues(com.caplin.motif.fx.trading.block.BlockTrade trade, BlockTradeProperties tradeProperties)
CustomFieldValuesFactory
Returns a CustomFieldValues
object.
Use this method to populate CustomFieldValues
with values taken from the
UserTrade
and tradeProperties
createCustomFieldValues
in interface CustomFieldValuesFactory<com.caplin.motif.fx.trading.block.BlockTrade,BlockTradeProperties>
Copyright © 2019 Caplin Systems.