coreRuntime/src/sc/bind/Bind.java
public static void addDynamicListener(Object obj, Object typeObj, String propName, IListener listener, int eventMask) {
      IBeanMapper mapper = DynUtil.getPropertyMapping(typeObj, propName);
      if (mapper == null) {
         System.err.println("*** Failed to add dynamic listener.  Property: " + propName + " not found for obj: " + obj);
         return;
      }
      else if (mapper.getStaticPropertyPosition() != -1)
         obj = typeObj;
      addListener(obj, mapper, listener, eventMask);
   }
/**
    * Like addDynamicListener but takes an explicit type to use for this object.  In the case where you might select and
    * retrieve the static properties for a subtype and want to add a listener for those values, you pass in the subtype.
    */
Like addDynamicListener but takes an explicit type to use for this object.  In the case where you might select and
retrieve the static properties for a subtype and want to add a listener for those values, you pass in the subtype.
Like addDynamicListener but takes an explicit type to use for this object . In the case where you might select and retrieve the static properties for a subtype and want to add a listener for those values you pass in the subtype .
public static void addDynamicListener(Object obj, Object typeObj, String propName, IListener listener, int eventMask) {
      IBeanMapper mapper = DynUtil.getPropertyMapping(typeObj, propName);
      if (mapper == null) {
         System.err.println("*** Failed to add dynamic listener.  Property: " + propName + " not found for obj: " + obj);
         return;
      }
      else if (mapper.getStaticPropertyPosition() != -1)
         obj = typeObj;
      addListener(obj, mapper, listener, eventMask);
   }
public static void addDynamicListener ( Object obj , Object typeObj , String propName , IListener listener , int eventMask ) { IBeanMapper mapper = DynUtil . getPropertyMapping ( typeObj , propName ) ; if ( mapper == null ) { System . err . println ( "*** Failed to add dynamic listener.  Property: " + propName + " not found for obj: " + obj ) ; return ; } else if ( mapper . getStaticPropertyPosition ( ) != - 1 ) obj = typeObj ; addListener ( obj , mapper , listener , eventMask ) ; }
Like addDynamicListener but takes an explicit type to use for this object.
Like addDynamicListener but takes an explicit type to use for this object .