2 "name" : "Roo.Toolbar",
5 "desc" : "Basic Toolbar class.",
9 "memberOf" : "Toolbar",
18 "desc" : "The config object",
27 "type" : "String/HTMLElement/Element",
28 "desc" : "The id or element that will contain the toolbar",
29 "memberOf" : "Roo.Toolbar",
36 "desc" : "array of button configs or elements to add (will be converted to a MixedCollection)",
45 "desc" : "Adds a new element to the toolbar from the passed {@link Roo.DomHelper} config.",
47 "isConstructor" : false,
49 "memberOf" : "Roo.Toolbar",
65 "type" : "Roo.Toolbar.Item",
66 "desc" : "The element's item"
71 "name" : "addElement",
72 "desc" : "Adds any standard HTML element to the toolbar",
74 "isConstructor" : false,
76 "memberOf" : "Roo.Toolbar",
84 "type" : "String/HTMLElement/Element",
85 "desc" : "The element or id of the element to add",
92 "type" : "Roo.Toolbar.Item",
93 "desc" : "The element's item"
99 "desc" : "Returns the Element for this toolbar.",
101 "isConstructor" : false,
103 "memberOf" : "Roo.Toolbar",
113 "type" : "Roo.Element",
120 "desc" : "Hide the toolbar",
122 "isConstructor" : false,
124 "memberOf" : "Roo.Toolbar",
135 "name" : "addSeparator",
136 "desc" : "Adds a separator",
138 "isConstructor" : false,
140 "memberOf" : "Roo.Toolbar",
150 "type" : "Roo.Toolbar.Item",
151 "desc" : "The separator item"
157 "desc" : "Show the toolbar",
159 "isConstructor" : false,
161 "memberOf" : "Roo.Toolbar",
173 "desc" : "Adds a fill element that forces subsequent additions to the right side of the toolbar",
175 "isConstructor" : false,
177 "memberOf" : "Roo.Toolbar",
187 "type" : "Roo.Toolbar.Fill",
188 "desc" : "The fill item"
193 "name" : "addSpacer",
194 "desc" : "Adds a spacer element",
196 "isConstructor" : false,
198 "memberOf" : "Roo.Toolbar",
208 "type" : "Roo.Toolbar.Spacer",
209 "desc" : "The spacer item"
215 "desc" : "Adds element(s) to the toolbar -- this function takes a variable number of \narguments of mixed type and adds them to the toolbar.",
217 "isConstructor" : false,
219 "memberOf" : "Roo.Toolbar",
228 "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>",
243 "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}.",
245 "isConstructor" : false,
247 "memberOf" : "Roo.Toolbar",
255 "type" : "Roo.form.Field",
263 "type" : "Roo.ToolbarItem",
270 "desc" : "Adds text to the toolbar",
272 "isConstructor" : false,
274 "memberOf" : "Roo.Toolbar",
283 "desc" : "The text to add",
290 "type" : "Roo.Toolbar.Item",
291 "desc" : "The element's item"
297 "desc" : "Adds any Toolbar.Item or subclass",
299 "isConstructor" : false,
301 "memberOf" : "Roo.Toolbar",
309 "type" : "Roo.Toolbar.Item",
317 "type" : "Roo.Toolbar.Item",
323 "name" : "addButton",
324 "desc" : "Adds a button (or buttons). See {@link Roo.Toolbar.Button} for more info on the config.",
326 "isConstructor" : false,
328 "memberOf" : "Roo.Toolbar",
336 "type" : "Object/Array",
337 "desc" : "A button config or array of configs",
344 "type" : "Roo.Toolbar.Button/Array",
350 "name" : "insertButton",
351 "desc" : "Inserts any {@link Roo.Toolbar.Item}/{@link Roo.Toolbar.Button} at the specified index.",
353 "isConstructor" : false,
355 "memberOf" : "Roo.Toolbar",
364 "desc" : "The index where the item is to be inserted",
369 "type" : "Object/Roo.Toolbar.Item/Roo.Toolbar.Button (may be Array)",
370 "desc" : "The button, or button config object to be inserted.",
377 "type" : "Roo.Toolbar.Button/Item",
384 "desc" : "Add an Xtype element",
386 "isConstructor" : false,
388 "memberOf" : "Roo.Toolbar",
397 "desc" : "Xtype Object",
405 "desc" : "created Object"