X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/b37ceabb82336ee82757cd32efe353cfab8ec267..f5240829880f87e0cf581c6a296e436fdef0ef80:/examples/docs/output/Ext.ux.ToolbarDroppable.html?ds=sidebyside diff --git a/examples/docs/output/Ext.ux.ToolbarDroppable.html b/examples/docs/output/Ext.ux.ToolbarDroppable.html new file mode 100644 index 00000000..b0075733 --- /dev/null +++ b/examples/docs/output/Ext.ux.ToolbarDroppable.html @@ -0,0 +1,39 @@ +
Package: | Ext.ux |
Defined In: | ToolbarDroppable.js |
Class: | ToolbarDroppable |
Extends: | Object |
+new Ext.ux.ToolbarDroppable({ +createItem: function(data) { +return new Ext.Button({text: data.text}); +} +}); ++The afterLayout function can also be overridden, and is called after a new item has been +created and inserted into the Toolbar. Use this for any logic that needs to be run after +the item has been created.
Property | Defined By | |
---|---|---|
afterLayout : Object Called after a new button has been created and added to the toolbar. Add any required cleanup logic here | ToolbarDroppable | |
dropTarget : Ext.dd.DropTarget +The drop target attached to the toolbar instance | ToolbarDroppable | |
toolbar : Ext.Toolbar +The toolbar instance that this plugin is tied to | ToolbarDroppable |
Method | Defined By | |
---|---|---|
addDDGroup( String ddGroup )
+ :
+ voidAdds the given DD Group to the drop target Adds the given DD Group to the drop target Parameters:
| ToolbarDroppable | |
calculateEntryIndex( Ext.EventObject e )
+ :
+ NumberCalculates the location on the toolbar to create the new sorter button based on the XY of the
+drag event Calculates the location on the toolbar to create the new sorter button based on the XY of the
+drag event Parameters:
| ToolbarDroppable | |
canDrop( Object data )
+ :
+ BooleanReturns true if the drop is allowed on the drop target. This function can be overridden
+and defaults to simply return... Returns true if the drop is allowed on the drop target. This function can be overridden
+and defaults to simply return true Parameters:
| ToolbarDroppable | |
constructor()
+ :
+ void Parameters:
| ToolbarDroppable | |
createDropTarget()
+ :
+ void Creates a drop target on the toolbar Creates a drop target on the toolbar Parameters:
| ToolbarDroppable | |
createItem( Object data )
+ :
+ MixedCreates the new toolbar item based on drop data. This method must be implemented by the plugin instance Creates the new toolbar item based on drop data. This method must be implemented by the plugin instance Parameters:
| ToolbarDroppable | |
init( Ext.Toolbar toolbar )
+ :
+ voidInitializes the plugin and saves a reference to the toolbar Initializes the plugin and saves a reference to the toolbar Parameters:
| ToolbarDroppable | |
notifyDrop()
+ :
+ void Called when the drop has been made. Creates the new toolbar item, places it at the correct location
+and calls the aft... Called when the drop has been made. Creates the new toolbar item, places it at the correct location
+and calls the afterLayout callback. Parameters:
| ToolbarDroppable | |
notifyOver()
+ :
+ String Custom notifyOver method which will be used in the plugin's internal DropTarget Custom notifyOver method which will be used in the plugin's internal DropTarget Parameters:
| ToolbarDroppable |