Class
caplin.grid.decorator

DropDecorator

The drop decorator is used to allow receiving instruments that have been dragged onto a grid configured with this decorator from other grids or trade panels configured with the drag decorator. The drop decorator only makes sense where the grid rows are instruments that can be requested from the Liberator.

It ultimately passes the received instruments on to the GridView's receiveObjects method.

Constructor Summary

Attributes Name and Description
caplin.grid.decorator.DropDecorator(Object mConfig)

Constructs a caplin.grid.decorator.DropDecorator instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the caplin.grid.GridComponentFactory class.

Methods implemented from class caplin.grid.decorator.GridDecorator:
setGridView
Methods implemented from class caplin.grid.GridViewListener:
onActivate, onAllRowsReceived, onClose, onContainerHtmlRendered, onDeactivate, onHide, onMaximize, onMinimize, onOpen, onResize, onRestore, onRowStructureChanged, onScroll, onScrollComplete, onScrollHorizontal, onScrollVertical, onShow, onViewRedrawn, onVisibleRowCountChanged
Methods implemented from class caplin.component.InstrumentReceiver:
canReceive, canReceiveMultipleObjects, canReceiveObjects, getLastReceiveFailureMessage, getSuccessMessage, receiveObjects

Constructor Detail

caplin.grid.decorator.DropDecorator(Object mConfig)

Constructs a caplin.grid.decorator.DropDecorator instance — end-users will never need to do this themselves since grids are fully constructed based on their XML definition files by the caplin.grid.GridComponentFactory class.

Parameters
Object mConfig config object