2 "name" : "Roo.Toolbar",
7 "desc" : "Basic Toolbar class.",
11 "memberOf" : "Toolbar",
20 "desc" : "The config object",
36 "type" : "String/HTMLElement/Element",
37 "desc" : "The id or element that will contain the toolbar",
43 "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)",
51 "desc" : "Adds a new element to the toolbar from the passed {@link Roo.DomHelper} config.",
56 "isConstructor" : false,
75 "type" : "Roo.Toolbar.Item",
76 "desc" : "The element's item"
81 "name" : "addElement",
83 "desc" : "Adds any standard HTML element to the toolbar",
88 "isConstructor" : false,
99 "type" : "String/HTMLElement/Element",
100 "desc" : "The element or id of the element to add",
107 "type" : "Roo.Toolbar.Item",
108 "desc" : "The element's item"
115 "desc" : "Returns the Element for this toolbar.",
116 "sig" : "()\n{\n\n}",
120 "isConstructor" : false,
132 "type" : "Roo.Element",
140 "desc" : "Hide the toolbar",
141 "sig" : "()\n{\n\n}",
145 "isConstructor" : false,
157 "name" : "addSeparator",
159 "desc" : "Adds a separator",
160 "sig" : "()\n{\n\n}",
164 "isConstructor" : false,
176 "type" : "Roo.Toolbar.Item",
177 "desc" : "The separator item"
184 "desc" : "Show the toolbar",
185 "sig" : "()\n{\n\n}",
189 "isConstructor" : false,
203 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
204 "sig" : "()\n{\n\n}",
208 "isConstructor" : false,
220 "type" : "Roo.Toolbar.Fill",
221 "desc" : "The fill item"
226 "name" : "addSpacer",
228 "desc" : "Adds a spacer element",
229 "sig" : "()\n{\n\n}",
233 "isConstructor" : false,
245 "type" : "Roo.Toolbar.Spacer",
246 "desc" : "The spacer item"
253 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
254 "sig" : "(arg1, arg2)",
258 "isConstructor" : false,
270 "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>",
285 "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}.",
290 "isConstructor" : false,
301 "type" : "Roo.form.Field",
309 "type" : "Roo.ToolbarItem",
317 "desc" : "Adds text to the toolbar",
322 "isConstructor" : false,
334 "desc" : "The text to add",
341 "type" : "Roo.Toolbar.Item",
342 "desc" : "The element's item"
349 "desc" : "Adds any Toolbar.Item or subclass",
354 "isConstructor" : false,
365 "type" : "Roo.Toolbar.Item",
373 "type" : "Roo.Toolbar.Item",
379 "name" : "addButton",
381 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
386 "isConstructor" : false,
397 "type" : "Object/Array",
398 "desc" : "A button config or array of configs",
405 "type" : "Roo.Toolbar.Button/Array",
411 "name" : "insertButton",
413 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
414 "sig" : "(index, item)",
418 "isConstructor" : false,
430 "desc" : "The index where the item is to be inserted",
435 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
436 "desc" : "The button, or button config object to be inserted.",
443 "type" : "Roo.Toolbar.Button/Item",
451 "desc" : "Add an Xtype element",
456 "isConstructor" : false,
468 "desc" : "Xtype Object",
476 "desc" : "created Object"