Sencha Documentation

A custom drag proxy implementation specific to Ext.panel.Panels. This class is primarily used internally for the Panel's drag drop implementation, and should never need to be created directly.

Config Options

 
insertProxy : Boolean
True to insert a placeholder proxy element while dragging the panel, false to drag with no proxy (defaults to true). ...
True to insert a placeholder proxy element while dragging the panel, false to drag with no proxy (defaults to true). Most Panels are not absolute positioned and therefore we need to reserve this space.

Properties

 
panel : Ext.panel.Panel

Methods

 
getEl : Element
Gets the proxy's element
Gets the proxy's element
 
getGhost : Panel
Gets the proxy's ghost Panel
Gets the proxy's ghost Panel
 
getProxy : Element
Gets the proxy element. This is the element that represents where the Panel was before we started the drag operation.
Gets the proxy element. This is the element that represents where the Panel was before we started the drag operation.
 
hide : Void
Hides the proxy
Hides the proxy
 
moveProxy( HTMLElement parentNode, [HTMLElement before] ) : Void
Moves the proxy to a different position in the DOM. This is typically called while dragging the Panel to keep the pr...
Moves the proxy to a different position in the DOM. This is typically called while dragging the Panel to keep the proxy sync'd to the Panel's location.

Parameters

  • parentNode : HTMLElement
    The proxy's parent DOM node
  • before : HTMLElement
    (optional) The sibling node before which the proxy should be inserted (defaults to the parent's last child if not specified)

Returns

  • Void
 
Called then the user pressing their mouse button down on a tool Adds the press class (toolPressedCls)
Called then the user pressing their mouse button down on a tool Adds the press class (toolPressedCls)
 
onMouseOut : Void
Called when the user rolls out from a tool. Removes the over class (toolOverCls)
Called when the user rolls out from a tool. Removes the over class (toolOverCls)
 
Called when the user rolls over a tool Adds the over class (toolOverCls)
Called when the user rolls over a tool Adds the over class (toolOverCls)
 
show : Void
Shows the proxy
Shows the proxy