Documenting the enhanced behavior setters
authorJaroslav Tulach <jaroslav.tulach@netbeans.org>
Tue, 08 Jul 2014 07:56:25 +0200
branchsetters
changeset 71870c2ca785e5a
parent 717 1a929cfa1dd4
child 719 3ce33991bd96
Documenting the enhanced behavior
json/src/main/java/org/apidesign/html/json/spi/Proto.java
     1.1 --- a/json/src/main/java/org/apidesign/html/json/spi/Proto.java	Tue Jul 08 07:50:50 2014 +0200
     1.2 +++ b/json/src/main/java/org/apidesign/html/json/spi/Proto.java	Tue Jul 08 07:56:25 2014 +0200
     1.3 @@ -110,7 +110,10 @@
     1.4      }
     1.5      
     1.6      /** Whenever model changes a property. It should notify the
     1.7 -     * associated technology by calling this method.
     1.8 +     * associated technology by calling this method. 
     1.9 +     * Since 0.8.3: This method may be called by any thread - it reschedules
    1.10 +     * its actual execution into appropriate one by using
    1.11 +     * {@link BrwsrCtx#execute(java.lang.Runnable)}.
    1.12       * 
    1.13       * @param propName name of the changed property
    1.14       */
    1.15 @@ -130,6 +133,9 @@
    1.16       * (if the new value is known and different to the old one) or
    1.17       * via (slightly ineffective) {@link #valueHasMutated(java.lang.String)}
    1.18       * method.
    1.19 +     * Since 0.8.3: This method may be called by any thread - it reschedules
    1.20 +     * its actual execution into appropriate one by using
    1.21 +     * {@link BrwsrCtx#execute(java.lang.Runnable)}.
    1.22       * 
    1.23       * @param propName name of the changed property
    1.24       * @param oldValue provides previous value of the property