|
| DDTarget( String id , String sGroup , object config )
Parameters:id : Stringthe id of the element that is a drop target sGroup : Stringthe group of related DragDrop objects config : objectan object containing configurable attributes
Valid properties for DDTarget in addition to those in
DragDrop:
-none Returns: | DDTarget |
| addToGroup( sGroup {string} )
- :
- voidAdd this instance to a group of related drag/drop objects. All
+none Returns: | DDTarget |
| addToGroup( sGroup {string} )
+ :
+ voidAdd this instance to a group of related drag/drop objects. All
instances belong to at least one group, and can belon... Add this instance to a group of related drag/drop objects. All
instances belong to at least one group, and can belong to as many
-groups as needed. Parameters:{string} : sGroupthe name of the group Returns: | DragDrop |
| applyConfig()
- :
- voidApplies the configuration parameters that were passed into the constructor.
+groups as needed. Parameters:{string} : sGroupthe name of the group Returns: | DragDrop |
| applyConfig()
+ :
+ voidApplies the configuration parameters that were passed into the constructor.
This is supposed to happen at each level ... Applies the configuration parameters that were passed into the constructor.
This is supposed to happen at each level through the inheritance chain. So
a DDProxy implentation will execute apply config on DDProxy, DD, and
DragDrop in order to get all of the parameters that are available in
-each object. | DragDrop |
| constrainTo( Mixed constrainTo , [Object/Number pad ], [Boolean inContent ] )
- :
- voidInitializes the drag drop object's constraints to restrict movement to a certain element.
-Usage:
+each object. | DragDrop |
| constrainTo( Mixed constrainTo , [Object/Number pad ], [Boolean inContent ] )
+ :
+ voidInitializes the drag drop object's constraints to restrict movement to a certain element.
+Usage:
var dd = new Ext.dd... | DragDrop |
| getEl()
- :
- HTMLElementReturns a reference to the linked element Returns a reference to the linked element Parameters:Returns:HTMLElement the html element
| DragDrop |
| init( id the , String sGroup , object config )
- :
- voidSets up the DragDrop object. Must be called in the constructor of any
+an object containing the sides to pad. For example: {right:10, bottom:10} inContent : Boolean(optional) Constrain the draggable in the content box of the element (inside padding and borders) Returns: | DragDrop |
| getEl()
+ :
+ HTMLElementReturns a reference to the linked element Returns a reference to the linked element Parameters:Returns:HTMLElement the html element
| DragDrop |
| init( id the , String sGroup , object config )
+ :
+ voidSets up the DragDrop object. Must be called in the constructor of any
Ext.dd.DragDrop subclass Sets up the DragDrop object. Must be called in the constructor of any
-Ext.dd.DragDrop subclass | DragDrop |
| initTarget( id the , String sGroup , object config )
- :
- voidInitializes Targeting functionality only... the object does not
+Ext.dd.DragDrop subclass | DragDrop |
| initTarget( id the , String sGroup , object config )
+ :
+ voidInitializes Targeting functionality only... the object does not
get a mousedown handler. Initializes Targeting functionality only... the object does not
-get a mousedown handler. | DragDrop |
| isLocked()
- :
- booleanReturns true if this instance is locked, or the drag drop mgr is locked
+get a mousedown handler. | DragDrop |
| isLocked()
+ :
+ booleanReturns true if this instance is locked, or the drag drop mgr is locked
(meaning that all drag/drop is disabled on th... Returns true if this instance is locked, or the drag drop mgr is locked
-(meaning that all drag/drop is disabled on the page.) | DragDrop |
| lock()
- :
- void | DragDrop |
| onAvailable()
- :
- voidOverride the onAvailable method to do what is needed after the initial
+(meaning that all drag/drop is disabled on the page.) | DragDrop |
| lock()
+ :
+ void | DragDrop |
| onAvailable()
+ :
+ voidOverride the onAvailable method to do what is needed after the initial
position was determined. Override the onAvailable method to do what is needed after the initial
-position was determined. | DragDrop |
| removeFromGroup( string sGroup )
- :
- voidRemove's this instance from the supplied interaction group Remove's this instance from the supplied interaction group Parameters:sGroup : stringThe group to drop Returns: | DragDrop |
| setPadding( int iTop , int iRight , int iBot , int iLeft )
- :
- voidConfigures the padding for the target zone in px. Effectively expands
+position was determined. | DragDrop |
| removeFromGroup( string sGroup )
+ :
+ voidRemove's this instance from the supplied interaction group Remove's this instance from the supplied interaction group Parameters:sGroup : stringThe group to drop Returns: | DragDrop |
| setPadding( int iTop , int iRight , int iBot , int iLeft )
+ :
+ voidConfigures the padding for the target zone in px. Effectively expands
(or reduces) the virtual object size for targe... Configures the padding for the target zone in px. Effectively expands
(or reduces) the virtual object size for targeting calculations.
Supports css-style shorthand; if only one parameter is passed, all sides
will have that padding, and if only two are passed, the top and bottom
-will have the first param, the left and right the second. Parameters:iTop : intTop pad iRight : intRight pad iBot : intBot pad iLeft : intLeft pad Returns: | DragDrop |
| toString()
- :
- string | DragDrop |
| unlock()
- :
- void | DragDrop |
| unreg()
- :
+will have the first param, the left and right the second.Parameters:iTop : intTop pad iRight : intRight pad iBot : intBot pad iLeft : intLeft pad Returns: | DragDrop |
| toString()
+ :
+ string | DragDrop |
| unlock()
+ :
+ void | DragDrop |
| unreg()
+ :
voidRemove all drag and drop hooks for this element Remove all drag and drop hooks for this element | DragDrop |