summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti@vaadin.com>2015-10-17 08:51:00 -0700
committerJohannes Dahlström <johannesd@vaadin.com>2015-11-05 09:15:23 +0000
commite5f1f506de3dec7d3e63aeb92a055ba660a17239 (patch)
treee93578e42a562c42b1509bc38531b5624d137d76
parenta99359895718e9d6a215f82fb24620ba9869da7c (diff)
downloadvaadin-framework-e5f1f506de3dec7d3e63aeb92a055ba660a17239.tar.gz
vaadin-framework-e5f1f506de3dec7d3e63aeb92a055ba660a17239.zip
Improved javadocs for Button.setDisabledOnClick
Change-Id: I75cf104b05ed361ced7f17b20cebd98cc3825d5c
-rw-r--r--server/src/com/vaadin/ui/Button.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Button.java b/server/src/com/vaadin/ui/Button.java
index c272662740..45d18a5620 100644
--- a/server/src/com/vaadin/ui/Button.java
+++ b/server/src/com/vaadin/ui/Button.java
@@ -566,7 +566,8 @@ public class Button extends AbstractComponent implements
* typically to prevent (accidental) extra clicks on a button.
* <p>
* Note that this is only used when the click comes from the user, not when
- * calling {@link #click()}.
+ * calling {@link #click()} method programmatically. Also, if developer
+ * wants to re-enable the button, it needs to be done programmatically.
* </p>
*
* @param disableOnClick