aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/CheckBox.java
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2008-02-06 13:06:00 +0000
committerJani Laakso <jani.laakso@itmill.com>2008-02-06 13:06:00 +0000
commitd1cf6e4334f78b22923c2f935fa35e1062a73bdc (patch)
treed2811d035dc7bff365c54f30836cd797f384f0f9 /src/com/itmill/toolkit/ui/CheckBox.java
parentc9ac55500aeb1a54b6153dff7c197da83ebac2e9 (diff)
downloadvaadin-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.java12
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);