diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2008-02-06 13:06:00 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2008-02-06 13:06:00 +0000 |
commit | d1cf6e4334f78b22923c2f935fa35e1062a73bdc (patch) | |
tree | d2811d035dc7bff365c54f30836cd797f384f0f9 /src/com/itmill/toolkit/ui/Button.java | |
parent | c9ac55500aeb1a54b6153dff7c197da83ebac2e9 (diff) | |
download | vaadin-framework-d1cf6e4334f78b22923c2f935fa35e1062a73bdc.tar.gz vaadin-framework-d1cf6e4334f78b22923c2f935fa35e1062a73bdc.zip |
1. Removed obsolete dependency framework methods and interface definitions.
2. "Undeprecated" reflection based listeners, we still wish to support these.
But I noted on javadoc that using these methods is discouraged and suggested better methods.
svn changeset:3718/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/Button.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/Button.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/com/itmill/toolkit/ui/Button.java b/src/com/itmill/toolkit/ui/Button.java index 605cac85b7..538c8953d6 100644 --- a/src/com/itmill/toolkit/ui/Button.java +++ b/src/com/itmill/toolkit/ui/Button.java @@ -63,9 +63,12 @@ public class Button extends AbstractField { } /** - * Creates a new push button with a method listening button clicks. The - * method must have either no parameters, or only one parameter of - * Button.ClickEvent type. + * Creates a new push button with a method listening button clicks. Using + * this method is discouraged because it cannot be checked during + * compilation. Use + * {@link #Button(String, com.itmill.toolkit.ui.Button.ClickListener)} + * instead. The method must have either no parameters, or only one parameter + * of Button.ClickEvent type. * * @param caption * the Button caption. @@ -74,10 +77,6 @@ public class Button extends AbstractField { * @param methodName * the name of the method in target object, that receives * button click events. - * @deprecated Use - * {@link #Button(String, com.itmill.toolkit.ui.Button.ClickListener)} - * instead. Using this method is discouraged because it cannot - * be checked during compilation. */ public Button(String caption, Object target, String methodName) { this(caption); |