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

\n
Defined By

Properties

Ext.ux.DataView.DragSelector
view source
dataview : Ext.view.View

The DataView bound to this instance

\n

The DataView bound to this instance

\n
Ext.ux.DataView.DragSelector
view source
: Ext.util.Region
Represents the region currently dragged out by the user. ...

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

\n
Ext.ux.DataView.DragSelector
view source
: Ext.dd.DragTracker
The DragTracker attached to this instance. ...

The 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.

\n
Defined By

Methods

Ext.ux.DataView.DragSelector
view source
( )private
Reusable handler that's used to cancel the container click event when dragging on the dataview. ...

Reusable handler that's used to cancel the container click event when dragging on the dataview. See onStart for\ndetails

\n
Ext.ux.DataView.DragSelector
view source
( )private
Gets the region taken up by each rendered node in the DataView. ...

Gets 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

\n
Ext.ux.DataView.DragSelector
view source
( ) : Ext.Elementprivate
Creates a Proxy element that will be used to highlight the drag selection region ...

Creates a Proxy element that will be used to highlight the drag selection region

\n

Returns

Ext.ux.DataView.DragSelector
view source
( Object dataview )
Initializes the plugin by setting up the drag tracker ...

Initializes the plugin by setting up the drag tracker

\n

Parameters

Ext.ux.DataView.DragSelector
view source
( Object e )private
Listener attached to the DragTracker's onBeforeStart event. ...

Listener attached to the DragTracker's onBeforeStart event. Returns false if the drag didn't start within the\nDataView's el

\n

Parameters

Ext.ux.DataView.DragSelector
view source
( Ext.EventObject e )private
Listener attached to the DragTracker's onDrag event. ...

Listener 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

\n

Parameters

Ext.ux.DataView.DragSelector
view source
( Ext.EventObject e )private
Listener attached to the DragTracker's onEnd event. ...

Listener 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.

\n

Parameters

Ext.ux.DataView.DragSelector
view source
( )private
Called when the attached DataView is rendered. ...

Called when the attached DataView is rendered. This sets up the DragTracker instance that will be used\nto created a dragged selection area

\n
Ext.ux.DataView.DragSelector
view source
( Ext.EventObject e )private
Listener attached to the DragTracker's onStart event. ...

Listener 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

\n

Parameters

","subclasses":[],"name":"Ext.ux.DataView.DragSelector","alternateClassNames":[],"inheritdoc":null,"files":[{"href":"DragSelector.html#Ext-ux-DataView-DragSelector","filename":"DragSelector.js"}],"html_meta":{"author":null},"singleton":false,"id":"class-Ext.ux.DataView.DragSelector","statics":{"property":[],"event":[],"css_var":[],"method":[],"css_mixin":[],"cfg":[]},"requires":["Ext.dd.DragTracker","Ext.util.Region"]});