Ext.data.JsonP.Ext_ux_DataView_DragSelector({"mixins":[],"code_type":"ext_define","inheritable":false,"component":false,"meta":{"author":["Ed Spencer"]},"mixedInto":[],"uses":[],"aliases":{},"parentMixins":[],"superclasses":[],"members":{"event":[],"property":[{"meta":{},"owner":"Ext.ux.DataView.DragSelector","tagname":"property","name":"dataview","id":"property-dataview"},{"meta":{},"owner":"Ext.ux.DataView.DragSelector","tagname":"property","name":"dragRegion","id":"property-dragRegion"},{"meta":{},"owner":"Ext.ux.DataView.DragSelector","tagname":"property","name":"tracker","id":"property-tracker"}],"css_var":[],"method":[{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"cancelClick","id":"method-cancelClick"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"fillRegions","id":"method-fillRegions"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"getProxy","id":"method-getProxy"},{"meta":{},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"init","id":"method-init"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"onBeforeStart","id":"method-onBeforeStart"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"onDrag","id":"method-onDrag"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"onEnd","id":"method-onEnd"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"onRender","id":"method-onRender"},{"meta":{"private":true},"owner":"Ext.ux.DataView.DragSelector","tagname":"method","name":"onStart","id":"method-onStart"}],"css_mixin":[],"cfg":[]},"tagname":"class","extends":null,"html":"
Requires
Files
Represents the region currently dragged out by the user. This is used to figure out which dataview nodes are\nin the selected area and to set the size of the Proxy element used to highlight the current drag area
\nThe DragTracker attached to this instance. Note that the 4 on* functions are called in the scope of the\nDragTracker ('this' refers to the DragTracker inside those functions), so we pass a reference to the\nDragSelector so that we can call this class's functions.
\nReusable handler that's used to cancel the container click event when dragging on the dataview. See onStart for\ndetails
\nGets the region taken up by each rendered node in the DataView. We use these regions to figure out which nodes\nto select based on the selector region the user has dragged out
\nCreates a Proxy element that will be used to highlight the drag selection region
\nThe Proxy element
\nListener attached to the DragTracker's onBeforeStart event. Returns false if the drag didn't start within the\nDataView's el
\nListener attached to the DragTracker's onDrag event. Figures out how large the drag selection area should be and\nupdates the proxy element's size to match. Then iterates over all of the rendered items and marks them selected\nif the drag region touches them
\nThe drag event
\nListener attached to the DragTracker's onEnd event. This is a delayed function which executes 1\nmillisecond after it has been called. This is because the dragging flag must remain active to cancel\nthe containerclick event which the mouseup event will trigger.
\nThe event object
\nCalled when the attached DataView is rendered. This sets up the DragTracker instance that will be used\nto created a dragged selection area
\nListener attached to the DragTracker's onStart event. Cancel's the DataView's containerclick event from firing\nand sets the start co-ordinates of the Proxy element. Clears any existing DataView selection
\nThe click event
\n