diff options
author | Artur Signell <artur@vaadin.com> | 2011-11-22 12:31:21 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2011-11-22 13:18:42 +0200 |
commit | 423d95a6e1bd15d737b14fc364c33904ff9843df (patch) | |
tree | 021edfa9538cfad786d92e30944ea2cb67feabe9 /src/com/vaadin/ui/NativeButton.java | |
parent | a28763d2b933ab9f07e1b6faa4705b16b8d197ba (diff) | |
download | vaadin-framework-423d95a6e1bd15d737b14fc364c33904ff9843df.tar.gz vaadin-framework-423d95a6e1bd15d737b14fc364c33904ff9843df.zip |
#7963 Button now extends AbstractComponent instead of AbstractField
Focus related methods previously used from AbstractField are now
implemented in Button directly.
Fixed tests related to this change.
Diffstat (limited to 'src/com/vaadin/ui/NativeButton.java')
-rw-r--r-- | src/com/vaadin/ui/NativeButton.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/com/vaadin/ui/NativeButton.java b/src/com/vaadin/ui/NativeButton.java index 6d128b4bb4..40b88951b3 100644 --- a/src/com/vaadin/ui/NativeButton.java +++ b/src/com/vaadin/ui/NativeButton.java @@ -3,7 +3,6 @@ */ package com.vaadin.ui; -import com.vaadin.data.Property; import com.vaadin.terminal.gwt.client.ui.VNativeButton; @SuppressWarnings("serial") @@ -26,30 +25,4 @@ public class NativeButton extends Button { super(caption, target, methodName); } - /** - * Creates a new switch button with initial value. - * - * @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); - } - - /** - * Creates a new switch button that is connected to a boolean property. - * - * @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); - } - }
\ No newline at end of file |