diff options
Diffstat (limited to 'compatibility-client')
7 files changed, 9 insertions, 16 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java index c3d56c9690..7e27d3ac92 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/AbstractFieldConnector.java @@ -18,14 +18,13 @@ package com.vaadin.v7.client.ui; import com.google.gwt.user.client.ui.Focusable; import com.vaadin.client.StyleConstants; import com.vaadin.client.annotations.OnStateChange; -import com.vaadin.client.ui.HasErrorIndicator; import com.vaadin.client.ui.HasRequiredIndicator; import com.vaadin.v7.shared.AbstractFieldState; @Deprecated public abstract class AbstractFieldConnector extends AbstractLegacyComponentConnector - implements HasRequiredIndicator, HasErrorIndicator { + implements HasRequiredIndicator { @Override public AbstractFieldState getState() { @@ -53,6 +52,7 @@ public abstract class AbstractFieldConnector * * @return true if required indicator should be shown */ + @Deprecated public boolean isRequired() { return isRequiredIndicatorVisible(); } diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java index 0dcad75648..1b1c8d52fa 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VNativeSelect.java @@ -23,9 +23,8 @@ import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.user.client.ui.ListBox; import com.vaadin.client.BrowserInfo; import com.vaadin.client.UIDL; -import com.vaadin.client.ui.Field; -public class VNativeSelect extends VOptionGroupBase implements Field { +public class VNativeSelect extends VOptionGroupBase { public static final String CLASSNAME = "v-select"; diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java index e8c889a9c0..8f6131593b 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VPopupCalendar.java @@ -48,8 +48,6 @@ import com.google.gwt.user.client.ui.Widget; import com.vaadin.client.BrowserInfo; import com.vaadin.client.ComputedStyle; import com.vaadin.client.VConsole; -import com.vaadin.client.ui.Field; -import com.vaadin.client.ui.SubPartAware; import com.vaadin.client.ui.VOverlay; import com.vaadin.client.ui.aria.AriaHelper; import com.vaadin.v7.client.ui.VCalendarPanel.FocusOutListener; @@ -67,7 +65,7 @@ import com.vaadin.v7.shared.ui.datefield.Resolution; * */ public class VPopupCalendar extends VTextualDate - implements Field, ClickHandler, CloseHandler<PopupPanel>, SubPartAware { + implements ClickHandler, CloseHandler<PopupPanel> { /** For internal use only. May be removed or replaced in the future. */ public final Button calendarToggle = new Button(); diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index 54b2417e46..3fdd286ef0 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -74,7 +74,6 @@ import com.google.gwt.user.client.Event.NativePreviewHandler; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.FlowPanel; -import com.google.gwt.user.client.ui.HasWidgets; import com.google.gwt.user.client.ui.Panel; import com.google.gwt.user.client.ui.PopupPanel; import com.google.gwt.user.client.ui.UIObject; @@ -142,7 +141,7 @@ import com.vaadin.v7.shared.ui.table.TableConstants; * TODO implement unregistering for child components in Cells */ public class VScrollTable extends FlowPanel - implements HasWidgets, ScrollHandler, VHasDropHandler, FocusHandler, + implements ScrollHandler, VHasDropHandler, FocusHandler, BlurHandler, Focusable, ActionOwner, SubPartAware, DeferredWorker { /** diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java index bb2453c881..f28e62ac55 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextualDate.java @@ -34,7 +34,6 @@ import com.vaadin.client.Focusable; import com.vaadin.client.LocaleNotLoadedException; import com.vaadin.client.LocaleService; import com.vaadin.client.VConsole; -import com.vaadin.client.ui.Field; import com.vaadin.client.ui.SubPartAware; import com.vaadin.client.ui.aria.AriaHelper; import com.vaadin.client.ui.aria.HandlesAriaCaption; @@ -43,7 +42,8 @@ import com.vaadin.client.ui.aria.HandlesAriaRequired; import com.vaadin.shared.EventId; import com.vaadin.v7.shared.ui.datefield.Resolution; -public class VTextualDate extends VDateField implements Field, ChangeHandler, +public class VTextualDate extends VDateField + implements ChangeHandler, Focusable, SubPartAware, HandlesAriaCaption, HandlesAriaInvalid, HandlesAriaRequired, KeyDownHandler { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java index 26d93762c2..f8b8466563 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTwinColSelect.java @@ -26,7 +26,6 @@ import com.google.gwt.dom.client.Style.Position; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.DoubleClickEvent; import com.google.gwt.event.dom.client.DoubleClickHandler; -import com.google.gwt.event.dom.client.HasDoubleClickHandlers; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.event.dom.client.KeyDownEvent; import com.google.gwt.event.dom.client.KeyDownHandler; @@ -76,8 +75,7 @@ public class VTwinColSelect extends VOptionGroupBase implements KeyDownHandler, * A ListBox which catches double clicks. * */ - public class DoubleClickListBox extends ListBox - implements HasDoubleClickHandlers { + public class DoubleClickListBox extends ListBox { public DoubleClickListBox(boolean isMultipleSelect) { super(isMultipleSelect); } diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java index 2fc55c7f58..4e321b43d7 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/table/TableConnector.java @@ -30,7 +30,6 @@ import com.vaadin.client.ConnectorHierarchyChangeEvent; import com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler; import com.vaadin.client.DirectionalManagedLayout; import com.vaadin.client.HasChildMeasurementHintConnector; -import com.vaadin.client.HasComponentsConnector; import com.vaadin.client.Paintable; import com.vaadin.client.ServerConnector; import com.vaadin.client.TooltipInfo; @@ -52,7 +51,7 @@ import com.vaadin.v7.shared.ui.table.TableState; @Connect(com.vaadin.v7.ui.Table.class) public class TableConnector extends AbstractFieldConnector - implements HasComponentsConnector, ConnectorHierarchyChangeHandler, + implements ConnectorHierarchyChangeHandler, Paintable, DirectionalManagedLayout, PostLayoutListener, HasChildMeasurementHintConnector { |