2 "name" : "Roo.bootstrap.Table.RowSelectionModel",
4 "Roo.bootstrap.Table.AbstractSelectionModel",
7 "desc" : "The default SelectionModel used by {@link Roo.bootstrap.Table}.\nIt supports multiple selections and keyboard selection/navigation.",
15 "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n listeners : { \n 'click' : function(e) {\n ..... \n } ,\n .... \n } \n </code></pre>",
16 "memberOf" : "Roo.util.Observable",
21 "name" : "singleSelect",
23 "desc" : "True to allow selection of only one row at a time (defaults to false)",
24 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
32 "desc" : "Gets the number of selected rows.",
34 "isConstructor" : false,
36 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
52 "name" : "getSelections",
53 "desc" : "Returns the selected records",
55 "isConstructor" : false,
57 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
68 "desc" : "Array of selected records"
73 "name" : "selectRange",
74 "desc" : "Selects a range of rows. All rows in between startRow and endRow are also selected.",
76 "isConstructor" : false,
78 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
87 "desc" : "The index of the first row in the range",
93 "desc" : "The index of the last row in the range",
97 "name" : "keepExisting",
99 "desc" : "(optional) True to retain existing selections",
107 "name" : "selectFirstRow",
108 "desc" : "Selects the first row in the grid.",
110 "isConstructor" : false,
112 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
123 "name" : "selectLastRow",
124 "desc" : "Select the last row.",
126 "isConstructor" : false,
128 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
135 "name" : "keepExisting",
137 "desc" : "(optional) True to keep existing selections",
145 "name" : "deselectRow",
146 "desc" : "Deselects a row.",
148 "isConstructor" : false,
150 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
159 "desc" : "The index of the row to deselect",
167 "name" : "selectNext",
168 "desc" : "Selects the row immediately following the last selected row.",
170 "isConstructor" : false,
172 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
179 "name" : "keepExisting",
181 "desc" : "(optional) True to keep existing selections",
189 "name" : "selectPrevious",
190 "desc" : "Selects the row that precedes the last selected row.",
192 "isConstructor" : false,
194 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
201 "name" : "keepExisting",
203 "desc" : "(optional) True to keep existing selections",
211 "name" : "selectRows",
212 "desc" : "Selects multiple rows.",
214 "isConstructor" : false,
216 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
225 "desc" : "Array of the indexes of the row to select",
229 "name" : "keepExisting",
231 "desc" : "(optional) True to keep existing selections",
239 "name" : "selectRecords",
240 "desc" : "Select records.",
242 "isConstructor" : false,
244 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
253 "desc" : "The records to select",
257 "name" : "keepExisting",
259 "desc" : "(optional) True to keep existing selections",
267 "name" : "hasSelection",
268 "desc" : "Returns True if there is a selection.",
270 "isConstructor" : false,
272 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
288 "name" : "isIdSelected",
289 "desc" : "Returns True if the specified record id is selected.",
291 "isConstructor" : false,
293 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
302 "desc" : "The id of record to check",
315 "name" : "selectAll",
316 "desc" : "Selects all rows.",
318 "isConstructor" : false,
320 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
331 "name" : "selectRow",
332 "desc" : "Selects a row.",
334 "isConstructor" : false,
336 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
345 "desc" : "The index of the row to select",
349 "name" : "keepExisting",
351 "desc" : "(optional) True to keep existing selections",
359 "name" : "getSelected",
360 "desc" : "Returns the first selected record.",
362 "isConstructor" : false,
364 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
380 "name" : "isSelected",
381 "desc" : "Returns True if the specified row is selected.",
383 "isConstructor" : false,
385 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
393 "type" : "Number/Record",
394 "desc" : "The record or index of the record to check",
407 "name" : "clearSelections",
408 "desc" : "Clears all selections.",
410 "isConstructor" : false,
412 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
423 "name" : "deselectRange",
424 "desc" : "Deselects a range of rows. All rows in between startRow and endRow are also deselected.",
426 "isConstructor" : false,
428 "memberOf" : "Roo.bootstrap.Table.RowSelectionModel",
437 "desc" : "The index of the first row in the range",
443 "desc" : "The index of the last row in the range",
452 "desc" : "Locks the selections.",
454 "isConstructor" : false,
456 "memberOf" : "Roo.bootstrap.Table.AbstractSelectionModel",
468 "desc" : "Unlocks the selections.",
470 "isConstructor" : false,
472 "memberOf" : "Roo.bootstrap.Table.AbstractSelectionModel",
484 "desc" : "Returns true if the selections are locked.",
486 "isConstructor" : false,
488 "memberOf" : "Roo.bootstrap.Table.AbstractSelectionModel",
504 "name" : "purgeListeners",
505 "desc" : "Removes all listeners for this object",
507 "isConstructor" : false,
509 "memberOf" : "Roo.util.Observable",
521 "desc" : "Appends an event handler to this element (shorthand for addListener)",
523 "isConstructor" : false,
525 "memberOf" : "Roo.util.Observable",
532 "name" : "eventName",
534 "desc" : "The type of event to listen for",
540 "desc" : "The method the event invokes",
546 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
552 "desc" : "(optional)",
561 "desc" : "Removes a listener (shorthand for removeListener)",
563 "isConstructor" : false,
565 "memberOf" : "Roo.util.Observable",
572 "name" : "eventName",
574 "desc" : "The type of event to listen for",
580 "desc" : "The handler to remove",
586 "desc" : "(optional) The scope (this object) for the handler",
594 "name" : "addEvents",
595 "desc" : "Used to define events on this Observable",
597 "isConstructor" : false,
599 "memberOf" : "Roo.util.Observable",
608 "desc" : "The object with the events defined",
616 "name" : "releaseCapture",
617 "desc" : "Removes <b>all</b> added captures from the Observable.",
619 "isConstructor" : false,
621 "memberOf" : "Roo.util.Observable",
629 "type" : "Observable",
630 "desc" : "The Observable to release",
638 "name" : "removeListener",
639 "desc" : "Removes a listener",
641 "isConstructor" : false,
643 "memberOf" : "Roo.util.Observable",
650 "name" : "eventName",
652 "desc" : "The type of event to listen for",
658 "desc" : "The handler to remove",
664 "desc" : "(optional) The scope (this object) for the handler",
672 "name" : "fireEvent",
673 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
675 "isConstructor" : false,
677 "memberOf" : "Roo.util.Observable",
684 "name" : "eventName",
691 "type" : "Object...",
692 "desc" : "Variable number of parameters are passed to handlers",
700 "desc" : "returns false if any of the handlers return false otherwise it returns true"
705 "name" : "hasListener",
706 "desc" : "Checks to see if this object has any listeners for a specified event",
708 "isConstructor" : false,
710 "memberOf" : "Roo.util.Observable",
717 "name" : "eventName",
719 "desc" : "The name of the event to check for",
727 "desc" : "True if the event is being listened for, else false"
733 "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
735 "isConstructor" : false,
737 "memberOf" : "Roo.util.Observable",
745 "type" : "Observable",
746 "desc" : "The Observable to capture",
752 "desc" : "The function to call",
758 "desc" : "(optional) The scope (this object) for the fn",
766 "name" : "addListener",
767 "desc" : "Appends an event handler to this component",
769 "isConstructor" : false,
771 "memberOf" : "Roo.util.Observable",
778 "name" : "eventName",
780 "desc" : "The type of event to listen for",
786 "desc" : "The method the event invokes",
792 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
798 "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n \t\tdelay: 100,\n \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n \t\tfn: this.onClick,\n \t\tscope: this,\n \t\tdelay: 100\n \t\t}, \n \t\t'mouseover': {\n \t\tfn: this.onMouseOver,\n \t\tscope: this\n \t\t},\n \t\t'mouseout': {\n \t\tfn: this.onMouseOut,\n \t\tscope: this\n \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n \t\t'mouseover': this.onMouseOver,\n \t\t'mouseout': this.onMouseOut,\n \t\tscope: this\n\t\t});\n\t\t</code></pre>",
808 "name" : "rowselect",
809 "desc" : "Fires when a row is selected.",
818 "type" : "SelectionModel",
825 "desc" : "The selected index",
830 "type" : "Roo.data.Record",
831 "desc" : "The record",
839 "name" : "beforerowselect",
840 "desc" : "Fires when a row is selected being selected, return false to cancel.",
849 "type" : "SelectionModel",
856 "desc" : "The selected index",
860 "name" : "keepExisting",
862 "desc" : "False if other selections will be cleared",
870 "name" : "rowdeselect",
871 "desc" : "Fires when a row is deselected.",
880 "type" : "SelectionModel",
887 "desc" : "The selected index",
895 "name" : "afterselectionchange",
896 "desc" : "Fires after the selection changes (eg. by key press or clicking)",
905 "type" : "SelectionModel",
914 "name" : "selectionchange",
915 "desc" : "Fires when the selection changes",
924 "type" : "SelectionModel",