Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.DragTracker.Builder< TDragTracker, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >:
Ext.Net.LazyObservable.Builder< TDragTracker, TBuilder >

Public Member Functions

 Builder (TDragTracker component)
 
virtual TBuilder TrackOver (bool trackOver)
 Set to true to fire mouseover and mouseout events when the mouse enters or leaves the target element. More...
 
virtual TBuilder Tolerance (int tolerance)
 Number of pixels the drag target must be moved before dragging is considered to have started. Defaults to 5. More...
 
virtual TBuilder AutoStart (int autoStart)
 Defaults to 0. Specify a Number for the number of milliseconds to defer trigger start. More...
 
virtual TBuilder ProxyCls (string proxyCls)
 Proxy class More...
 
virtual TBuilder OverCls (string overCls)
 A CSS class to add to the DragTracker's target element when the element (or, if the delegate option is used, when a delegate element) is mouseovered. More...
 
virtual TBuilder ConstrainTo (string constrainTo)
 A Region (Or an element from which a Region measurement will be read) which is used to constrain the result of the getOffset call. More...
 
virtual TBuilder Delegate (string _delegate)
 A DomQuery selector which identifies child elements within the DragTracker's encapsulating Element which are the tracked elements. This limits tracking to only begin when the matching elements are mousedowned. More...
 
virtual TBuilder PreventDefault (bool preventDefault)
 Specify false to enable default actions on onMouseDown events. Defaults to true. More...
 
virtual TBuilder StopEvent (bool stopEvent)
 Specify true to stop the mousedown event from bubbling to outer listeners from the target element (or its delegates). Defaults to false. More...
 
virtual TBuilder Selection (bool selection)
 Defaults to true. If false then no selection tracker More...
 
virtual TBuilder Target (string target)
 ID of the element that is linked to this instance More...
 
virtual TBuilder OnBeforeStart (Action< JFunction > action)
 
virtual TBuilder OnStart (Action< JFunction > action)
 
virtual TBuilder OnCancel (Action< JFunction > action)
 Template method which mey be overridden by each DragTracker instance. Called when a mouseup gesture is detected but the onStart has not yet been reached. To clear things up that may have been set up on onBeforeStart. More...
 
virtual TBuilder OnDrag (Action< JFunction > action)
 
virtual TBuilder OnEnd (Action< JFunction > action)
 
virtual TBuilder Listeners (Action< DragTrackerListeners > action)
 Client-side JavaScript Event Handlers More...
 
virtual TBuilder DirectEvents (Action< DragTrackerDirectEvents > action)
 Server-side DirectEventHandlers More...
 
 Builder ()
 
 Builder (DragTracker component)
 
 Builder (DragTracker.Config config)
 
- Public Member Functions inherited from Ext.Net.LazyObservable.Builder< TDragTracker, TBuilder >
 Builder (TLazyObservable component)
 

Static Public Member Functions

static implicit operator Builder (DragTracker component)
 

Detailed Description

Type Constraints
TDragTracker :DragTracker 
TBuilder :Builder 
TBuilder :TDragTracker 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Builder ( TDragTracker  component)
inline

◆ Builder() [2/4]

Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Builder ( DragTracker  component)
inline

◆ Builder() [4/4]

Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Builder ( DragTracker.Config  config)
inline

Member Function Documentation

◆ AutoStart()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.AutoStart ( int  autoStart)
inlinevirtual

Defaults to 0. Specify a Number for the number of milliseconds to defer trigger start.

◆ ConstrainTo()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.ConstrainTo ( string  constrainTo)
inlinevirtual

A Region (Or an element from which a Region measurement will be read) which is used to constrain the result of the getOffset call.

◆ Delegate()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Delegate ( string  _delegate)
inlinevirtual

A DomQuery selector which identifies child elements within the DragTracker's encapsulating Element which are the tracked elements. This limits tracking to only begin when the matching elements are mousedowned.

◆ DirectEvents()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.DirectEvents ( Action< DragTrackerDirectEvents action)
inlinevirtual

Server-side DirectEventHandlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ Listeners()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Listeners ( Action< DragTrackerListeners action)
inlinevirtual

Client-side JavaScript Event Handlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ OnBeforeStart()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OnBeforeStart ( Action< JFunction action)
inlinevirtual

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ OnCancel()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OnCancel ( Action< JFunction action)
inlinevirtual

Template method which mey be overridden by each DragTracker instance. Called when a mouseup gesture is detected but the onStart has not yet been reached. To clear things up that may have been set up on onBeforeStart.

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ OnDrag()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OnDrag ( Action< JFunction action)
inlinevirtual

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ OnEnd()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OnEnd ( Action< JFunction action)
inlinevirtual

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ OnStart()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OnStart ( Action< JFunction action)
inlinevirtual

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ operator Builder()

static implicit Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.operator Builder ( DragTracker  component)
inlinestatic

◆ OverCls()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.OverCls ( string  overCls)
inlinevirtual

A CSS class to add to the DragTracker's target element when the element (or, if the delegate option is used, when a delegate element) is mouseovered.

◆ PreventDefault()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.PreventDefault ( bool  preventDefault)
inlinevirtual

Specify false to enable default actions on onMouseDown events. Defaults to true.

◆ ProxyCls()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.ProxyCls ( string  proxyCls)
inlinevirtual

Proxy class

◆ Selection()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Selection ( bool  selection)
inlinevirtual

Defaults to true. If false then no selection tracker

◆ StopEvent()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.StopEvent ( bool  stopEvent)
inlinevirtual

Specify true to stop the mousedown event from bubbling to outer listeners from the target element (or its delegates). Defaults to false.

◆ Target()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Target ( string  target)
inlinevirtual

ID of the element that is linked to this instance

◆ Tolerance()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.Tolerance ( int  tolerance)
inlinevirtual

Number of pixels the drag target must be moved before dragging is considered to have started. Defaults to 5.

◆ TrackOver()

virtual TBuilder Ext.Net.DragTracker.Builder< TDragTracker, TBuilder >.TrackOver ( bool  trackOver)
inlinevirtual

Set to true to fire mouseover and mouseout events when the mouse enters or leaves the target element.


The documentation for this class was generated from the following file: