X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;fp=roojs-ui-debug.js;h=69104bd152b5a8e46a33c525087d808255b19b87;hp=3a7892ae3f1d8bc8c1b2f1fdfe5dc008954ba748;hb=e01802ac69da0ec0c9ccecc295beff82c1779f68;hpb=0fa7894b7489284160ff14afdca7b6911983357f diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 3a7892ae3f..69104bd152 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -511,13 +511,13 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, { */ /** - * @cfg {Roo.data.DataProxy} proxy The Proxy object which provides access to a data object. + * @cfg {Roo.data.DataProxy} proxy [required] The Proxy object which provides access to a data object. */ /** * @cfg {Array} data Inline data to be loaded when the store is initialized. */ /** - * @cfg {Roo.data.Reader} reader The Reader object which processes the data object and returns + * @cfg {Roo.data.DataReader} reader [required] The Reader object which processes the data object and returns * an Array of Roo.data.record objects which are cached keyed by their id property. */ /** @@ -1100,6 +1100,8 @@ Roo.extend(Roo.data.Store, Roo.util.Observable, { * @cfg {Array} fields An array of field definition objects, or field name strings. * @cfg {Object} an existing reader (eg. copied from another store) * @cfg {Array} data The multi-dimensional array of data + * @cfg {Roo.data.DataProxy} proxy [not-required] + * @cfg {Roo.data.Reader} reader [not-required] * @constructor * @param {Object} config */ @@ -1271,6 +1273,7 @@ Roo.data.Field.prototype = { /** * @class Roo.data.DataReader + * @abstract * Base class for reading structured data from a data source. This class is intended to be * extended (see {Roo.data.ArrayReader}, {Roo.data.JsonReader} and {Roo.data.XmlReader}) and should not be created directly. */ @@ -1321,7 +1324,8 @@ Roo.data.DataReader.prototype = { /** * @class Roo.data.DataProxy - * @extends Roo.data.Observable + * @extends Roo.util.Observable + * @abstract * This class is an abstract base class for implementations which provide retrieval of * unformatted data objects.
*

@@ -6369,7 +6373,7 @@ Roo.extend(Roo.Button, Roo.util.Observable, { */ enableToggle: false, /** - * @cfg {Mixed} menu + * @cfg {Roo.menu.Menu} menu * Standard menu attribute consisting of a reference to a menu object, a menu id or a menu config blob (defaults to undefined). */ menu : undefined, @@ -6991,6 +6995,7 @@ Roo.MenuButton = Roo.SplitButton;/* /** * @class Roo.Toolbar + * @children Roo.Toolbar.Item Roo.form.Field * Basic Toolbar class. * @constructor * Creates a new Toolbar @@ -7540,7 +7545,10 @@ Roo.extend(Roo.Toolbar.TextItem, Roo.Toolbar.Item, { Roo.Toolbar.Button = function(config){ Roo.Toolbar.Button.superclass.constructor.call(this, null, config); }; -Roo.extend(Roo.Toolbar.Button, Roo.Button, { +Roo.extend(Roo.Toolbar.Button, Roo.Button, +{ + + render : function(td){ this.td = td; Roo.Toolbar.Button.superclass.render.call(this, td); @@ -7646,6 +7654,7 @@ Roo.Toolbar.MenuButton = Roo.Toolbar.SplitButton;/* /** * @class Roo.PagingToolbar * @extends Roo.Toolbar + * @children Roo.Toolbar.Item Roo.form.Field * A specialized toolbar that is bound to a {@link Roo.data.Store} and provides automatic paging controls. * @constructor * Create a new PagingToolbar @@ -7681,10 +7690,7 @@ Roo.PagingToolbar = function(el, ds, config) }; Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { - /** - * @cfg {Roo.data.Store} dataSource - * The underlying data store providing the paged data - */ + /** * @cfg {String/HTMLElement/Element} container * container The id or element that will contain the toolbar @@ -7693,6 +7699,8 @@ Roo.extend(Roo.PagingToolbar, Roo.Toolbar, { * @cfg {Boolean} displayInfo * True to display the displayMsg (defaults to false) */ + + /** * @cfg {Number} pageSize * The number of records to display per page (defaults to 20) @@ -10088,6 +10096,8 @@ Roo.DialogManager = function(){ /** * @class Roo.LayoutDialog * @extends Roo.BasicDialog + * @children Roo.ContentPanel + * @builder-top * Dialog which provides adjustments for working with a layout in a Dialog. * Add your necessary layout config options to the dialog's config.
* Example usage (including a nested layout): @@ -10173,6 +10183,28 @@ Roo.LayoutDialog = function(el, cfg){ }; Roo.extend(Roo.LayoutDialog, Roo.BasicDialog, { + + + /** + * @cfg {Roo.LayoutRegion} east + */ + /** + * @cfg {Roo.LayoutRegion} west + */ + /** + * @cfg {Roo.LayoutRegion} south + */ + /** + * @cfg {Roo.LayoutRegion} north + */ + /** + * @cfg {Roo.LayoutRegion} center + */ + /** + * @cfg {Roo.Button} buttons[] Bottom buttons.. + */ + + /** * Ends update of the layout and resets display to none. Use standard beginUpdate/endUpdate on the layout. * @deprecated @@ -11185,7 +11217,7 @@ Roo.QuickTips.tips = Roo.QuickTips.register;/* /** * @class Roo.tree.TreePanel * @extends Roo.data.Tree - + * @cfg {Roo.tree.TreeNode} root The root node * @cfg {Boolean} rootVisible false to hide the root node (defaults to true) * @cfg {Boolean} lines false to disable tree lines (defaults to true) * @cfg {Boolean} enableDD true to enable drag and drop @@ -11202,8 +11234,8 @@ Roo.QuickTips.tips = Roo.QuickTips.register;/* * @cfg {Boolean} animate true to enable animated expand/collapse (defaults to the value of Roo.enableFx) * @cfg {Boolean} singleExpand true if only 1 node per branch may be expanded * @cfg {Boolean} selModel A tree selection model to use with this TreePanel (defaults to a {@link Roo.tree.DefaultSelectionModel}) - * @cfg {Boolean} loader A TreeLoader for use with this TreePanel - * @cfg {Object|Roo.tree.TreeEditor} editor The TreeEditor or xtype data to display when clicked. + * @cfg {Roo.tree.TreeLoader} loader A TreeLoader for use with this TreePanel + * @cfg {Roo.tree.TreeEditor} editor The TreeEditor to display when clicked. * @cfg {String} pathSeparator The token used to separate sub-paths in path strings (defaults to '/') * @cfg {Function} renderer DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes. to return HTML markup for the tree view. The render function is called with the following parameters:

* @cfg {Function} rendererTip DEPRECATED - use TreeLoader:create event / Sets the rendering (formatting) function for the nodes hovertip to return HTML markup for the tree view. The render function is called with the following parameters: @@ -13948,7 +13980,7 @@ Roo.extend(Roo.tree.TreeDragZone, Roo.dd.DragZone, { * @param {Object} oldconfig DEPRECIATED Either a prebuilt {@link Roo.form.Field} instance or a Field config object * * @cfg {Roo.tree.TreePanel} tree The tree to bind to. - * @cfg {Roo.form.TextField|Object} field The field configuration + * @cfg {Roo.form.TextField} field [required] The field configuration * * */ @@ -14254,7 +14286,7 @@ Roo.tree.ColumnNodeUI = Roo.extend(Roo.tree.TreeNodeUI, { /** * @class Roo.tree.ColumnTree - * @extends Roo.data.TreePanel + * @extends Roo.tree.TreePanel * @cfg {Object} columns Including width, header, renderer, cls, dataIndex * @cfg {int} borderWidth compined right/left border allowance * @constructor @@ -14365,6 +14397,7 @@ Roo.extend(Roo.tree.ColumnTree, Roo.tree.TreePanel, { /** * @class Roo.menu.Menu * @extends Roo.util.Observable + * @children Roo.menu.BaseItem * A menu object. This is the container to which you add all other menu items. Menu can also serve a as a base class * when you want a specialzed menu based off of another component (like {@link Roo.menu.DateMenu} for example). * @constructor @@ -15122,6 +15155,7 @@ Roo.menu.MenuMgr = function(){ /** * @class Roo.menu.BaseItem * @extends Roo.Component + * @abstract * The base class for all items that render into menus. BaseItem provides default rendering, activated state * management and base configuration options shared by all menu components. * @constructor @@ -15268,6 +15302,7 @@ Roo.extend(Roo.menu.BaseItem, Roo.Component, { /** * @class Roo.menu.Adapter * @extends Roo.menu.BaseItem + * @abstract * A base utility class that adapts a non-menu component so that it can be wrapped by a menu item and added to a menu. * It provides basic rendering, activation management and enable/disable logic required to work in menus. * @constructor @@ -15437,7 +15472,10 @@ Roo.menu.Item = function(config){ } }; Roo.extend(Roo.menu.Item, Roo.menu.BaseItem, { - + /** + * @cfg {Roo.menu.Menu} menu + * A Sub menu + */ /** * @cfg {String} text * The text to show on the menu item. @@ -19363,7 +19401,7 @@ Roo.form.ComboBoxArray = function(config) Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField, { /** - * @cfg {Roo.form.Combo} combo The combo box that is wrapped + * @cfg {Roo.form.ComboBox} combo [required] The combo box that is wrapped */ lastData : false, @@ -25321,6 +25359,7 @@ Roo.apply(Roo.form.BasicForm, { /** * @class Roo.form.Form * @extends Roo.form.BasicForm + * @children Roo.form.Column Roo.form.FieldSet Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem * Adds the ability to dynamically render forms with JavaScript to {@link Roo.form.BasicForm}. * @constructor * @param {Object} config Configuration options @@ -25378,6 +25417,10 @@ Roo.form.Form = function(config){ }; Roo.extend(Roo.form.Form, Roo.form.BasicForm, { + /** + * @cfg {Roo.Button} buttons[] buttons at bottom of form + */ + /** * @cfg {Number} labelWidth The width of labels. This property cascades to child containers. */ @@ -26117,6 +26160,7 @@ Roo.form.Action.ACTION_TYPES = { /** * @class Roo.form.Layout * @extends Roo.Component + * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem * Creates a container for layout and rendering of fields in an {@link Roo.form.Form}. * @constructor * @param {Object} config Configuration options @@ -26301,6 +26345,7 @@ Roo.extend(Roo.form.Column, Roo.form.Layout, { /** * @class Roo.form.Row * @extends Roo.form.Layout + * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem * Creates a row container for layout and rendering of fields in an {@link Roo.form.Form}. * @constructor * @param {Object} config Configuration options @@ -26377,6 +26422,7 @@ Roo.extend(Roo.form.Row, Roo.form.Layout, { /** * @class Roo.form.FieldSet * @extends Roo.form.Layout + * @children Roo.form.Column Roo.form.Row Roo.form.Field Roo.Button Roo.form.TextItem * Creates a fieldset container for layout and rendering of fields in an {@link Roo.form.Form}. * @constructor * @param {Object} config Configuration options @@ -29022,6 +29068,7 @@ Roo.extend(Roo.LayoutManager, Roo.util.Observable, { /** * @class Roo.BorderLayout * @extends Roo.LayoutManager + * @children Roo.ContentPanel * This class represents a common layout manager used in desktop applications. For screenshots and more details, * please see:

* Cross Browser Layouts - Part 1
@@ -29103,6 +29150,22 @@ Roo.BorderLayout = function(container, config){ }; Roo.extend(Roo.BorderLayout, Roo.LayoutManager, { + + /** + * @cfg {Roo.LayoutRegion} east + */ + /** + * @cfg {Roo.LayoutRegion} west + */ + /** + * @cfg {Roo.LayoutRegion} north + */ + /** + * @cfg {Roo.LayoutRegion} south + */ + /** + * @cfg {Roo.LayoutRegion} center + */ /** * Creates and adds a new region if it doesn't already exist. * @param {String} target The target region key (north, south, east, west or center). @@ -31207,23 +31270,26 @@ Roo.LayoutStateManager.prototype = { /** * @class Roo.ContentPanel * @extends Roo.util.Observable + * @children Roo.form.Form Roo.JsonView Roo.View + * @builder-top * A basic ContentPanel element. * @cfg {Boolean} fitToFrame True for this panel to adjust its size to fit when the region resizes (defaults to false) * @cfg {Boolean} fitContainer When using {@link #fitToFrame} and {@link #resizeEl}, you can also fit the parent container (defaults to false) - * @cfg {Boolean/Object} autoCreate True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create + * @cfg {Boolean|Object} autoCreate True to auto generate the DOM element for this panel, or a {@link Roo.DomHelper} config of the element to create * @cfg {Boolean} closable True if the panel can be closed/removed * @cfg {Boolean} background True if the panel should not be activated when it is added (defaults to false) - * @cfg {String/HTMLElement/Element} resizeEl An element to resize if {@link #fitToFrame} is true (instead of this panel's element) - * @cfg {Toolbar} toolbar A toolbar for this panel + * @cfg {String|HTMLElement|Element} resizeEl An element to resize if {@link #fitToFrame} is true (instead of this panel's element) + * @cfg {Roo.Toolbar} toolbar A toolbar for this panel * @cfg {Boolean} autoScroll True to scroll overflow in this panel (use with {@link #fitToFrame}) * @cfg {String} title The title for this panel * @cfg {Array} adjustments Values to add to the width/height when doing a {@link #fitToFrame} (default is [0, 0]) * @cfg {String} url Calls {@link #setUrl} with this value - * @cfg {String} region (center|north|south|east|west) which region to put this panel on (when used with xtype constructors) - * @cfg {String/Object} params When used with {@link #url}, calls {@link #setUrl} with this value + * @cfg {String} region [required] (center|north|south|east|west) which region to put this panel on (when used with xtype constructors) + * @cfg {String|Object} params When used with {@link #url}, calls {@link #setUrl} with this value * @cfg {Boolean} loadOnce When used with {@link #url}, calls {@link #setUrl} with this value * @cfg {String} content Raw content to fill content panel with (uses setContent on construction.) - * @cfg {String} style Extra style to add to the content panel + * @cfg {String} style Extra style to add to the content panel + * @cfg {Roo.menu.Menu} menu popup menu * @constructor * Create a new ContentPanel. @@ -31735,7 +31801,7 @@ Roo.extend(Roo.GridPanel, Roo.ContentPanel, { * Create a new NestedLayoutPanel. * * - * @param {Roo.BorderLayout} layout The layout for this panel + * @param {Roo.BorderLayout} layout [required] The layout for this panel * @param {String/Object} config A string to set only the title or a config object */ Roo.NestedLayoutPanel = function(layout, config) @@ -31968,7 +32034,7 @@ Roo.extend(Roo.TreePanel, Roo.ContentPanel, { fitToFrame : true, autoScroll : true, /* - * @cfg {Roo.tree.TreePanel} tree The tree TreePanel, with config etc. + * @cfg {Roo.tree.TreePanel} tree [required] The tree TreePanel, with config etc. */ tree : false @@ -32412,6 +32478,21 @@ Roo.grid.Grid = function(container, config){ Roo.extend(Roo.grid.Grid, Roo.util.Observable, { /** + * @cfg {Roo.grid.AbstractSelectionModel} sm The selection Model (default = Roo.grid.RowSelectionModel) + */ + /** + * @cfg {Roo.grid.GridView} view The view that renders the grid (default = Roo.grid.GridView) + */ + /** + * @cfg {Roo.grid.ColumnModel} cm[] The columns of the grid + */ + /** + * @cfg {Roo.grid.Store} ds The data store for the grid + */ + /** + * @cfg {Roo.Toolbar} toolbar a toolbar for buttons etc. + */ + /** * @cfg {String} ddGroup - drag drop group. */ /** @@ -32877,7 +32958,13 @@ Roo.extend(Roo.grid.Grid, Roo.util.Observable, { * Fork - LGPL *