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/CheckBox.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/CheckBox.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/CheckBox.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/itmill/toolkit/ui/CheckBox.java b/src/com/itmill/toolkit/ui/CheckBox.java index 12edb77bff..86ba0fee95 100644 --- a/src/com/itmill/toolkit/ui/CheckBox.java +++ b/src/com/itmill/toolkit/ui/CheckBox.java @@ -45,8 +45,12 @@ public class CheckBox extends Button { } /** - * Creates a new switch button with a method listening button clicks. The - * method must have either no parameters, or only one parameter of + * Convenience method for creating a new switch button with a method + * listening button clicks. Using this method is discouraged because it + * cannot be checked during compilation. Use + * {@link #addListener(Class, Object, Method)} or + * {@link #addListener(com.itmill.toolkit.ui.Component.Listener)} instead. + * The method must have either no parameters, or only one parameter of * Button.ClickEvent type. * * @param caption @@ -56,10 +60,6 @@ public class CheckBox extends Button { * @param methodName * the name of the method in target object, that receives * button click events. - * @deprecated Use {@link #addListener(Class, Object, Method)} or - * {@link #addListener(com.itmill.toolkit.ui.Component.Listener)} - * instead. Using this method is discouraged because it cannot - * be checked during compilation. */ public CheckBox(String caption, Object target, String methodName) { setCaption(caption); |