aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-04-15 06:36:16 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-04-15 06:36:16 +0000
commitbc3e6b2a96f527f2b7ee6a4dcfd381f7ad51cd03 (patch)
tree44651ffcaa71a6aded80c632bc9db0a6a222d19f /src/com/vaadin
parentcf2ec16a3cb585cb3eb70f6d77c3cdf135ec5675 (diff)
downloadvaadin-framework-bc3e6b2a96f527f2b7ee6a4dcfd381f7ad51cd03.tar.gz
vaadin-framework-bc3e6b2a96f527f2b7ee6a4dcfd381f7ad51cd03.zip
refined javadoc to avoid #4533
svn changeset:12530/svn branch:6.4
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/ui/Component.java19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/com/vaadin/ui/Component.java b/src/com/vaadin/ui/Component.java
index 251a415e83..cfc648d9b0 100644
--- a/src/com/vaadin/ui/Component.java
+++ b/src/com/vaadin/ui/Component.java
@@ -441,7 +441,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
* <pre>
* RichTextArea area = new RichTextArea();
* area.setCaption(&quot;You can edit stuff here&quot;);
- * area.setValue(&quot;&lt;h1&gt;Helpful Heading&lt;/h1&gt;&quot; + &quot;&lt;p&gt;All this is for you to edit.&lt;/p&gt;&quot;);
+ * area.setValue(&quot;&lt;h1&gt;Helpful Heading&lt;/h1&gt;&quot;
+ * + &quot;&lt;p&gt;All this is for you to edit.&lt;/p&gt;&quot;);
* </pre>
*
* <p>
@@ -573,7 +574,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
* Gets the application object to which the component is attached.
*
* <p>
- * The method will return {@code null} if the component has not yet been
+ * The method will return {@code null} if the component is not currently
* attached to an application. This is often a problem in constructors of
* regular components and in the initializers of custom composite
* components. A standard workaround is to move the problematic
@@ -716,7 +717,7 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
* as an empty collection.
*/
public void childRequestedRepaint(
- Collection<RepaintRequestListener> alreadyNotified);
+ Collection<RepaintRequestListener> alreadyNotified);
/* Component event framework */
@@ -819,11 +820,13 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
*
* public void componentEvent(Event event) {
* // Act according to the source of the event
- * if (event.getSource() == ok &amp;&amp; event.getClass() == Button.ClickEvent.class)
+ * if (event.getSource() == ok
+ * &amp;&amp; event.getClass() == Button.ClickEvent.class)
* getWindow().showNotification(&quot;Click!&quot;);
*
* // Display source component and event class names
- * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName() + &quot;: &quot; + event.getClass().getName());
+ * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName()
+ * + &quot;: &quot; + event.getClass().getName());
* }
* }
*
@@ -851,7 +854,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
* getWindow().showNotification(&quot;Click!&quot;);
*
* // Display source component and event class names
- * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName() + &quot;: &quot; + event.getClass().getName());
+ * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName()
+ * + &quot;: &quot; + event.getClass().getName());
* }
* </pre>
*
@@ -898,7 +902,8 @@ public interface Component extends Paintable, VariableOwner, Sizeable,
* if (event.getSource() == ok)
* getWindow().showNotification(&quot;Click!&quot;);
*
- * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName() + &quot;: &quot; + event.getClass().getName());
+ * status.setValue(&quot;Event from &quot; + event.getSource().getClass().getName()
+ * + &quot;: &quot; + event.getClass().getName());
* }
* }
*