2 "name" : "Roo.Toolbar",
4 "desc" : "Basic Toolbar class.",
8 "memberOf" : "Toolbar",
17 "desc" : "The config object",
27 "memberOf" : "Roo.Toolbar",
32 "type" : "String/HTMLElement/Element",
33 "desc" : "The id or element that will contain the toolbar",
34 "memberOf" : "Roo.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.",
50 "isConstructor" : false,
52 "memberOf" : "Roo.Toolbar",
68 "type" : "Roo.Toolbar.Item",
69 "desc" : "The element's item"
74 "name" : "addElement",
75 "desc" : "Adds any standard HTML element to the toolbar",
77 "isConstructor" : false,
79 "memberOf" : "Roo.Toolbar",
87 "type" : "String/HTMLElement/Element",
88 "desc" : "The element or id of the element to add",
95 "type" : "Roo.Toolbar.Item",
96 "desc" : "The element's item"
102 "desc" : "Returns the Element for this toolbar.",
104 "isConstructor" : false,
106 "memberOf" : "Roo.Toolbar",
115 "type" : "Roo.Element",
122 "desc" : "Hide the toolbar",
124 "isConstructor" : false,
126 "memberOf" : "Roo.Toolbar",
135 "name" : "addSeparator",
136 "desc" : "Adds a separator",
138 "isConstructor" : false,
140 "memberOf" : "Roo.Toolbar",
149 "type" : "Roo.Toolbar.Item",
150 "desc" : "The separator item"
156 "desc" : "Show the toolbar",
158 "isConstructor" : false,
160 "memberOf" : "Roo.Toolbar",
170 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
172 "isConstructor" : false,
174 "memberOf" : "Roo.Toolbar",
183 "type" : "Roo.Toolbar.Fill",
184 "desc" : "The fill item"
189 "name" : "addSpacer",
190 "desc" : "Adds a spacer element",
192 "isConstructor" : false,
194 "memberOf" : "Roo.Toolbar",
203 "type" : "Roo.Toolbar.Spacer",
204 "desc" : "The spacer item"
210 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
212 "isConstructor" : false,
214 "memberOf" : "Roo.Toolbar",
223 "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>",
237 "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}.",
239 "isConstructor" : false,
241 "memberOf" : "Roo.Toolbar",
249 "type" : "Roo.form.Field",
257 "type" : "Roo.ToolbarItem",
264 "desc" : "Adds text to the toolbar",
266 "isConstructor" : false,
268 "memberOf" : "Roo.Toolbar",
277 "desc" : "The text to add",
284 "type" : "Roo.Toolbar.Item",
285 "desc" : "The element's item"
291 "desc" : "Adds any Toolbar.Item or subclass",
293 "isConstructor" : false,
295 "memberOf" : "Roo.Toolbar",
303 "type" : "Roo.Toolbar.Item",
311 "type" : "Roo.Toolbar.Item",
317 "name" : "addButton",
318 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
320 "isConstructor" : false,
322 "memberOf" : "Roo.Toolbar",
330 "type" : "Object/Array",
331 "desc" : "A button config or array of configs",
338 "type" : "Roo.Toolbar.Button/Array",
344 "name" : "insertButton",
345 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
347 "isConstructor" : false,
349 "memberOf" : "Roo.Toolbar",
358 "desc" : "The index where the item is to be inserted",
363 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
364 "desc" : "The button, or button config object to be inserted.",
371 "type" : "Roo.Toolbar.Button/Item",
378 "desc" : "Add an Xtype element",
380 "isConstructor" : false,
382 "memberOf" : "Roo.Toolbar",
391 "desc" : "Xtype Object",
399 "desc" : "created Object"