coreRuntime/src/sc/bind/Bind.java
public static void sendAllEvents(int event, Object obj) {
      BindingListener [] bindings = Bind.getBindingListeners(obj);
      if (bindings == null)
         return;

      boolean isStatic = DynUtil.isType(obj);
      IBeanMapper[] mappers = isStatic ? DynUtil.getStaticProperties(obj) : DynUtil.getProperties(DynUtil.getType(obj));
      assert mappers.length == bindings.length;

      int i = 0;
      for (BindingListener b:bindings) {
         while (b != null) {
            if ((b.eventMask & event) == event) {
               IListener listener = b.listener;
               bindingManager.sendEvent(listener, event, obj, mappers[i], null);
            }
            b = b.next;
         }
         i++;
      }
   }
/** Used to send change events to all properties on "obj" */
Used to send change events to all properties on "obj"
Used to send change events to all properties on " obj "
public static void sendAllEvents(int event, Object obj) {
      BindingListener [] bindings = Bind.getBindingListeners(obj);
      if (bindings == null)
         return;
      boolean isStatic = DynUtil.isType(obj);
      IBeanMapper[] mappers = isStatic ? DynUtil.getStaticProperties(obj) : DynUtil.getProperties(DynUtil.getType(obj));
      assert mappers.length == bindings.length;
      int i = 0;
      for (BindingListener b:bindings) {
         while (b != null) {
            if ((b.eventMask & event) == event) {
               IListener listener = b.listener;
               bindingManager.sendEvent(listener, event, obj, mappers[i], null);
            }
            b = b.next;
         }
         i++;
      }
   }
public static void sendAllEvents ( int event , Object obj ) { BindingListener [ ] bindings = Bind . getBindingListeners ( obj ) ; if ( bindings == null ) return ; boolean isStatic = DynUtil . isType ( obj ) ; IBeanMapper [ ] mappers = isStatic ? DynUtil . getStaticProperties ( obj ) : DynUtil . getProperties ( DynUtil . getType ( obj ) ) ; assert mappers . length == bindings . length ; int i = 0 ; for ( BindingListener b : bindings ) { while ( b != null ) { if ( ( b . eventMask & event ) == event ) { IListener listener = b . listener ; bindingManager . sendEvent ( listener , event , obj , mappers [ i ] , null ) ; } b = b . next ; } i ++ ; } }
Used to send change events to all properties on "obj"
Used to send change events to all properties on " obj "