diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-11-04 17:49:51 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-11-04 17:49:51 +0000 |
commit | 271843820c77639d97670f63bf97697387b5a7a1 (patch) | |
tree | be83119dfa2537751759f740ae60e28ec15ebb02 /src/com/vaadin/ui/NativeButton.java | |
parent | 5887181f9ea636f2536b9fc0d5679fccb6b76693 (diff) | |
download | vaadin-framework-271843820c77639d97670f63bf97697387b5a7a1.tar.gz vaadin-framework-271843820c77639d97670f63bf97697387b5a7a1.zip |
#5865. Deprecated usage of Button as CheckBox
svn changeset:15870/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/ui/NativeButton.java')
-rw-r--r-- | src/com/vaadin/ui/NativeButton.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/NativeButton.java b/src/com/vaadin/ui/NativeButton.java index f84f270b26..6d128b4bb4 100644 --- a/src/com/vaadin/ui/NativeButton.java +++ b/src/com/vaadin/ui/NativeButton.java @@ -32,7 +32,9 @@ public class NativeButton extends Button { * @param state * the Initial state of the switch-button. * @param initialState + * @deprecated use the {@link CheckBox} component instead */ + @Deprecated public NativeButton(String caption, boolean initialState) { super(caption, initialState); } @@ -43,7 +45,9 @@ public class NativeButton extends Button { * @param state * the Initial state of the switch-button. * @param dataSource + * @deprecated use the {@link CheckBox} component instead */ + @Deprecated public NativeButton(String caption, Property dataSource) { super(caption, dataSource); } |