protected void bindMethod(final String name, final String propertyName) {
      if (name == null || name.equals(""))
         throw new IllegalArgumentException("name");
      if (propertyName == null || propertyName.equals(""))
         throw new IllegalArgumentException("propertyName");

      addPropertyListener //                opposite of field bound =(
         (new MethodBoundPropertyListener(this, propertyName, name));
   }
protected void bindMethod ( final String name , final String propertyName ) { if ( name == null || name . equals ( "" ) ) throw new IllegalArgumentException ( "name" ) ; if ( propertyName == null || propertyName . equals ( "" ) ) throw new IllegalArgumentException ( "propertyName" ) ; addPropertyListener ( new MethodBoundPropertyListener ( this , propertyName , name ) ) ; }
Creates a {@link MethodBoundPropertyListener} for the method and
property name and adds it the underlying property group.

@param name          The method name to bind values to.
@param propertyName  The property name to bind to.

@throws IllegalArgumentException    Method of property name is null or
empty.