2 "name" : "Roo.Toolbar",
5 "desc" : "Basic Toolbar class.",
12 "type" : "String/HTMLElement/Element",
13 "desc" : "The id or element that will contain the toolbar",
14 "memberOf" : "Roo.Toolbar",
21 "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)",
30 "desc" : "Adds a new element to the toolbar from the passed {@link Roo.DomHelper} config.",
32 "isConstructor" : false,
34 "memberOf" : "Roo.Toolbar",
50 "type" : "Roo.Toolbar.Item",
51 "desc" : "The element's item"
56 "name" : "addElement",
57 "desc" : "Adds any standard HTML element to the toolbar",
59 "isConstructor" : false,
61 "memberOf" : "Roo.Toolbar",
69 "type" : "String/HTMLElement/Element",
70 "desc" : "The element or id of the element to add",
77 "type" : "Roo.Toolbar.Item",
78 "desc" : "The element's item"
84 "desc" : "Returns the Element for this toolbar.",
86 "isConstructor" : false,
88 "memberOf" : "Roo.Toolbar",
98 "type" : "Roo.Element",
105 "desc" : "Hide the toolbar",
107 "isConstructor" : false,
109 "memberOf" : "Roo.Toolbar",
120 "name" : "addSeparator",
121 "desc" : "Adds a separator",
123 "isConstructor" : false,
125 "memberOf" : "Roo.Toolbar",
135 "type" : "Roo.Toolbar.Item",
136 "desc" : "The separator item"
142 "desc" : "Show the toolbar",
144 "isConstructor" : false,
146 "memberOf" : "Roo.Toolbar",
158 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
160 "isConstructor" : false,
162 "memberOf" : "Roo.Toolbar",
172 "type" : "Roo.Toolbar.Fill",
173 "desc" : "The fill item"
178 "name" : "addSpacer",
179 "desc" : "Adds a spacer element",
181 "isConstructor" : false,
183 "memberOf" : "Roo.Toolbar",
193 "type" : "Roo.Toolbar.Spacer",
194 "desc" : "The spacer item"
200 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
202 "isConstructor" : false,
204 "memberOf" : "Roo.Toolbar",
213 "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>",
228 "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}.",
230 "isConstructor" : false,
232 "memberOf" : "Roo.Toolbar",
240 "type" : "Roo.form.Field",
248 "type" : "Roo.ToolbarItem",
255 "desc" : "Adds text to the toolbar",
257 "isConstructor" : false,
259 "memberOf" : "Roo.Toolbar",
268 "desc" : "The text to add",
275 "type" : "Roo.Toolbar.Item",
276 "desc" : "The element's item"
282 "desc" : "Adds any Toolbar.Item or subclass",
284 "isConstructor" : false,
286 "memberOf" : "Roo.Toolbar",
294 "type" : "Roo.Toolbar.Item",
302 "type" : "Roo.Toolbar.Item",
308 "name" : "addButton",
309 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
311 "isConstructor" : false,
313 "memberOf" : "Roo.Toolbar",
321 "type" : "Object/Array",
322 "desc" : "A button config or array of configs",
329 "type" : "Roo.Toolbar.Button/Array",
335 "name" : "insertButton",
336 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
338 "isConstructor" : false,
340 "memberOf" : "Roo.Toolbar",
349 "desc" : "The index where the item is to be inserted",
354 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
355 "desc" : "The button, or button config object to be inserted.",
362 "type" : "Roo.Toolbar.Button/Item",
369 "desc" : "Add an Xtype element",
371 "isConstructor" : false,
373 "memberOf" : "Roo.Toolbar",
382 "desc" : "Xtype Object",
390 "desc" : "created Object"