2 "name" : "Roo.Toolbar",
4 "desc" : "Basic Toolbar class.",
8 "memberOf" : "Toolbar",
17 "desc" : "The config object",
33 "type" : "String/HTMLElement/Element",
34 "desc" : "The id or element that will contain the toolbar",
40 "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)",
48 "desc" : "Adds a new element to the toolbar from the passed {@link Roo.DomHelper} config.",
53 "isConstructor" : false,
72 "type" : "Roo.Toolbar.Item",
73 "desc" : "The element's item"
78 "name" : "addElement",
80 "desc" : "Adds any standard HTML element to the toolbar",
85 "isConstructor" : false,
96 "type" : "String/HTMLElement/Element",
97 "desc" : "The element or id of the element to add",
104 "type" : "Roo.Toolbar.Item",
105 "desc" : "The element's item"
112 "desc" : "Returns the Element for this toolbar.",
113 "sig" : "()\n{\n\n}",
117 "isConstructor" : false,
129 "type" : "Roo.Element",
137 "desc" : "Hide the toolbar",
138 "sig" : "()\n{\n\n}",
142 "isConstructor" : false,
154 "name" : "addSeparator",
156 "desc" : "Adds a separator",
157 "sig" : "()\n{\n\n}",
161 "isConstructor" : false,
173 "type" : "Roo.Toolbar.Item",
174 "desc" : "The separator item"
181 "desc" : "Show the toolbar",
182 "sig" : "()\n{\n\n}",
186 "isConstructor" : false,
200 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
201 "sig" : "()\n{\n\n}",
205 "isConstructor" : false,
217 "type" : "Roo.Toolbar.Fill",
218 "desc" : "The fill item"
223 "name" : "addSpacer",
225 "desc" : "Adds a spacer element",
226 "sig" : "()\n{\n\n}",
230 "isConstructor" : false,
242 "type" : "Roo.Toolbar.Spacer",
243 "desc" : "The spacer item"
250 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
251 "sig" : "(arg1, arg2)",
255 "isConstructor" : false,
267 "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>",
282 "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}.",
287 "isConstructor" : false,
298 "type" : "Roo.form.Field",
306 "type" : "Roo.ToolbarItem",
314 "desc" : "Adds text to the toolbar",
319 "isConstructor" : false,
331 "desc" : "The text to add",
338 "type" : "Roo.Toolbar.Item",
339 "desc" : "The element's item"
346 "desc" : "Adds any Toolbar.Item or subclass",
351 "isConstructor" : false,
362 "type" : "Roo.Toolbar.Item",
370 "type" : "Roo.Toolbar.Item",
376 "name" : "addButton",
378 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
383 "isConstructor" : false,
394 "type" : "Object/Array",
395 "desc" : "A button config or array of configs",
402 "type" : "Roo.Toolbar.Button/Array",
408 "name" : "insertButton",
410 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
411 "sig" : "(index, item)",
415 "isConstructor" : false,
427 "desc" : "The index where the item is to be inserted",
432 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
433 "desc" : "The button, or button config object to be inserted.",
440 "type" : "Roo.Toolbar.Button/Item",
448 "desc" : "Add an Xtype element",
453 "isConstructor" : false,
465 "desc" : "Xtype Object",
473 "desc" : "created Object"