2 "name" : "Roo.Toolbar",
5 "desc" : "Basic Toolbar class.",
9 "memberOf" : "Toolbar",
18 "desc" : "The config object",
29 "memberOf" : "Roo.Toolbar",
35 "type" : "String/HTMLElement/Element",
36 "desc" : "The id or element that will contain the toolbar",
37 "memberOf" : "Roo.Toolbar",
44 "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)",
53 "desc" : "Adds a new element to the toolbar from the passed {@link Roo.DomHelper} config.",
55 "isConstructor" : false,
57 "memberOf" : "Roo.Toolbar",
73 "type" : "Roo.Toolbar.Item",
74 "desc" : "The element's item"
79 "name" : "addElement",
80 "desc" : "Adds any standard HTML element to the toolbar",
82 "isConstructor" : false,
84 "memberOf" : "Roo.Toolbar",
92 "type" : "String/HTMLElement/Element",
93 "desc" : "The element or id of the element to add",
100 "type" : "Roo.Toolbar.Item",
101 "desc" : "The element's item"
107 "desc" : "Returns the Element for this toolbar.",
109 "isConstructor" : false,
111 "memberOf" : "Roo.Toolbar",
121 "type" : "Roo.Element",
128 "desc" : "Hide the toolbar",
130 "isConstructor" : false,
132 "memberOf" : "Roo.Toolbar",
143 "name" : "addSeparator",
144 "desc" : "Adds a separator",
146 "isConstructor" : false,
148 "memberOf" : "Roo.Toolbar",
158 "type" : "Roo.Toolbar.Item",
159 "desc" : "The separator item"
165 "desc" : "Show the toolbar",
167 "isConstructor" : false,
169 "memberOf" : "Roo.Toolbar",
181 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
183 "isConstructor" : false,
185 "memberOf" : "Roo.Toolbar",
195 "type" : "Roo.Toolbar.Fill",
196 "desc" : "The fill item"
201 "name" : "addSpacer",
202 "desc" : "Adds a spacer element",
204 "isConstructor" : false,
206 "memberOf" : "Roo.Toolbar",
216 "type" : "Roo.Toolbar.Spacer",
217 "desc" : "The spacer item"
223 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
225 "isConstructor" : false,
227 "memberOf" : "Roo.Toolbar",
236 "desc" : "The following types of arguments are all valid:<br />\n<ul>\n<li>{@link Roo.Toolbar.Button} config: A valid button config object (equivalent to {@link #addButton})</li>\n<li>HtmlElement: Any standard HTML element (equivalent to {@link #addElement})</li>\n<li>Field: Any form field (equivalent to {@link #addField})</li>\n<li>Item: Any subclass of {@link Roo.Toolbar.Item} (equivalent to {@link #addItem})</li>\n<li>String: Any generic string (gets wrapped in a {@link Roo.Toolbar.TextItem}, equivalent to {@link #addText}).\nNote that there are a few special strings that are treated differently as explained nRoo.</li>\n<li>'separator' or '-': Creates a separator element (equivalent to {@link #addSeparator})</li>\n<li>' ': Creates a spacer element (equivalent to {@link #addSpacer})</li>\n<li>'->': Creates a fill element (equivalent to {@link #addFill})</li>\n</ul>",
251 "desc" : "Adds a dynamically rendered Roo.form field (TextField, ComboBox, etc).\nNote: the field should not have been rendered yet. For a field that has already been\nrendered, use {@link #addElement}.",
253 "isConstructor" : false,
255 "memberOf" : "Roo.Toolbar",
263 "type" : "Roo.form.Field",
271 "type" : "Roo.ToolbarItem",
278 "desc" : "Adds text to the toolbar",
280 "isConstructor" : false,
282 "memberOf" : "Roo.Toolbar",
291 "desc" : "The text to add",
298 "type" : "Roo.Toolbar.Item",
299 "desc" : "The element's item"
305 "desc" : "Adds any Toolbar.Item or subclass",
307 "isConstructor" : false,
309 "memberOf" : "Roo.Toolbar",
317 "type" : "Roo.Toolbar.Item",
325 "type" : "Roo.Toolbar.Item",
331 "name" : "addButton",
332 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.Toolbar",
344 "type" : "Object/Array",
345 "desc" : "A button config or array of configs",
352 "type" : "Roo.Toolbar.Button/Array",
358 "name" : "insertButton",
359 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
361 "isConstructor" : false,
363 "memberOf" : "Roo.Toolbar",
372 "desc" : "The index where the item is to be inserted",
377 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
378 "desc" : "The button, or button config object to be inserted.",
385 "type" : "Roo.Toolbar.Button/Item",
392 "desc" : "Add an Xtype element",
394 "isConstructor" : false,
396 "memberOf" : "Roo.Toolbar",
405 "desc" : "Xtype Object",
413 "desc" : "created Object"