incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r432328 - /incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js
Date Thu, 17 Aug 2006 18:40:52 GMT
Author: mturyn
Date: Thu Aug 17 11:40:51 2006
New Revision: 432328

URL: http://svn.apache.org/viewvc?rev=432328&view=rev
Log:
Improved the jsdoc.

Modified:
    incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js?rev=432328&r1=432327&r2=432328&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Thu Aug 17 11:40:51
2006
@@ -215,15 +215,6 @@
  * extra methods may be attached to the peer to make it easier for the
  * handler to deal with it.<br/>
  * </li>
- * <li><b>Attribute handling</b>:&nbsp;
- * When a XAL attribute is processed, it triggers a call to <code>attributeSet()</code>;
- * here lowest-common-denominator behavior dominates----for an attribute <code>bar</code>,
- * we look for a setter <code>setFoo </code>on the peer, and if it
- * exists call it.&nbsp; In the case of the namespace attribute <code>xmlns
- * </code>and the event call <code>onCommand()</code> we do something
- * smarter---apart from these exceptions, anything more interesting and
- * widget-specific will have to be handled in subclasses.<br/>
- * </li>
  * </ol>
  *   @throws xap.util.Exception if the peer is unobtainable, or if the bridge subclass
  *   is missing, or if the supposed parent XapElement or bridge is not one of those.
@@ -404,8 +395,13 @@
  xap.bridges.basic.AbstractBlackBoxWidgetBridge._nameToSetterMap = new Object() ;
  
  /**
- * This is a default behaviour---subclasses should short-circuit this being called if they
want to
- * do anything interesting (e.g. aBridge.attributeSet("foo") ---> aPeer.setBar(a) instead
of ...setFoo(a).)
+ * When a XAL attribute is processed, it triggers a call to <code>attributeSet()</code>;
+ * here lowest-common-denominator behavior dominates----for an attribute <code>bar</code>,
+ * we look for a setter <code>setFoo </code>on the peer, and if it
+ * exists call it.&nbsp; In the case of the namespace attribute <code>xmlns
+ * </code>and the event call <code>onCommand()</code> we do something
+ * smarter---apart from these exceptions, anything more interesting and
+ * widget-specific will have to be handled in subclasses.<br/>
  * @param event{AttributeChangeEvent}
 **/
 xap.bridges.basic.AbstractBlackBoxWidgetBridge.prototype.attributeSet = function( event )
{ 



Mime
View raw message