click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r762743 - /incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
Date Wed, 08 Apr 2009 04:10:34 GMT
Author: sabob
Date: Tue Apr  7 12:32:25 2009
New Revision: 762743

URL: http://svn.apache.org/viewvc?rev=762743&view=rev
Log:
javadoc. CLK-521

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java?rev=762743&r1=762742&r2=762743&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/AbstractControl.java
Tue Apr  7 12:32:25 2009
@@ -705,14 +705,13 @@
      * <p/>
      * For example given the ActionLink:
      *
-     * <pre class="codeJava">
-     * ActionLink addLink = <span class="kw">new</span> ActionLink(<span class="red">"addLink"</span>,
<span class="st">"Add"</span>);
-     * addLink.setStyle(<span class="st">"color"</span>, <span class="st">"red"</span>);
-     * addLink.setStyle(<span class="st">"border"</span>, <span class="st">"1px
solid black"</span>); </pre>
+     * <pre class="prettyprint">
+     * ActionLink addLink = new ActionLink("addLink", "Add");
+     * addLink.addStyleClass("red"); </pre>
      *
      * Will render the HTML as:
-     * <pre class="codeHtml">
-     * &lt;a href=".." <span class="st">style</span>=<span class="st">"color:red;border:1px
solid black;"</span>&gt;<span class="st">Add</span>&lt;/a&gt;
</pre>
+     * <pre class="prettyprint">
+     * &lt;a href=".." class="red"&gt;Add&lt;/a&gt; </pre>
      *
      * @param value the class attribute to add
      */



Mime
View raw message