Lines Matching refs:event
30 * Fires when a Widget is add as a child. The event object will have a
35 * Subscribers to the "on" moment of this event, will be notified
39 * Subscribers to the "after" moment of this event, will be notified
43 * @event addChild
54 * Fires when a child Widget is removed. The event object will have a
58 * Subscribers to the "on" moment of this event, will be notified
62 * Subscribers to the "after" moment of this event, will be notified
66 * @event removeChild
218 * Destroy event listener for each child Widget, responsible for removing
224 * @param {EventFacade} event The event facade for the attribute change.
226 _afterDestroyChild: function (event) {
227 var child = event.target;
241 * @param {EventFacade} event The event facade for the attribute change.
243 _afterSelectionChange: function (event) {
245 if (event.target == this && event.src != this) {
247 var selection = event.newVal,
278 * @param {EventFacade} event The event facade for the attribute change.
280 _afterActiveDescendantChange: function (event) {
284 parent._set("activeDescendant", event.newVal);
296 * @param {EventFacade} event The event facade for the attribute change.
298 _afterParentSelectedChange: function (event) {
300 var value = event.newVal;
302 if (this == event.target && event.src != this &&
370 * @param {EventFacade} event The event facade for the attribute change.
372 _updateSelection: function (event) {
374 var child = event.target,
379 if (event.src != "_updateSelection") {
383 if (!this.get("multiple") && selection && event.newVal > 0) {
397 if (event.src == this) {
412 * @param {EventFacade} event The event facade for the attribute change.
414 _updateActiveDescendant: function (event) {
415 var activeDescendant = (event.newVal === true) ? event.target : null;
467 * @param event {EventFacade} The Event object
473 _defAddChildFn: function (event) {
475 var child = event.child,
476 index = event.index,
494 // (e.g. user passed in 10, and there are only 3 items, the actual index would be 3. We don't want to pass 10 around in the event facade).
495 event.index = child.get("index");
497 // TO DO: Remove in favor of using event bubbling
507 * @param event {EventFacade} The Event object
512 _defRemoveChildFn: function (event) {
514 var child = event.child,
515 index = event.index,
771 _afterAddChild: function (event) {
772 var child = event.child;
779 _afterRemoveChild: function (event) {
780 var child = event.child;