diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-23 07:34:48 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-23 08:34:48 +0300 |
commit | 73119c7193ca15d385caa55b285044c1c8cc0811 (patch) | |
tree | e4da0e3965ade538959b2e8de4b196f47cbef6b9 /client | |
parent | 60ff3d6c3428b2e353ecc0df90296cecc3e840e0 (diff) | |
download | vaadin-framework-73119c7193ca15d385caa55b285044c1c8cc0811.tar.gz vaadin-framework-73119c7193ca15d385caa55b285044c1c8cc0811.zip |
Fix javadoc references (#10067)
And remove unused imports.
Diffstat (limited to 'client')
15 files changed, 25 insertions, 25 deletions
diff --git a/client/src/main/java/com/vaadin/client/ApplicationConnection.java b/client/src/main/java/com/vaadin/client/ApplicationConnection.java index 8da676668b..aa02cd0a6f 100644 --- a/client/src/main/java/com/vaadin/client/ApplicationConnection.java +++ b/client/src/main/java/com/vaadin/client/ApplicationConnection.java @@ -42,7 +42,6 @@ import com.google.gwt.user.client.ui.HasWidgets; import com.google.gwt.user.client.ui.RootPanel; import com.google.gwt.user.client.ui.Widget; import com.vaadin.client.ApplicationConfiguration.ErrorMessage; -import com.vaadin.client.ApplicationConnection.ApplicationStoppedEvent; import com.vaadin.client.communication.ConnectionStateHandler; import com.vaadin.client.communication.Heartbeat; import com.vaadin.client.communication.MessageHandler; @@ -236,7 +235,7 @@ public class ApplicationConnection implements HasHandlers { * * To listen for the event add a {@link ApplicationStoppedHandler} by * invoking - * {@link ApplicationConnection#addHandler(ApplicationConnection.ApplicationStoppedEvent.Type, ApplicationStoppedHandler)} + * {@link ApplicationConnection#addHandler(GwtEvent.Type, ApplicationStoppedHandler)} * to the {@link ApplicationConnection} * * @since 7.1.8 @@ -279,7 +278,7 @@ public class ApplicationConnection implements HasHandlers { /** * A listener for listening to application stopped events. The listener can * be added to a {@link ApplicationConnection} by invoking - * {@link ApplicationConnection#addHandler(ApplicationStoppedEvent.Type, ApplicationStoppedHandler)} + * {@link ApplicationConnection#addHandler(GwtEvent.Type, ApplicationStoppedHandler)} * * @since 7.1.8 * @author Vaadin Ltd diff --git a/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java b/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java index e6049fbc8b..e96642c669 100644 --- a/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java +++ b/client/src/main/java/com/vaadin/client/HasChildMeasurementHintConnector.java @@ -40,7 +40,8 @@ public interface HasChildMeasurementHintConnector MEASURE_ALWAYS, /** - * Measure child component only if child component is a {@link Layout} + * Measure child component only if child component is an + * {@link com.vaadin.client.ui.AbstractLayoutConnector AbstractLayoutConnector} * or implements either {@link ManagedLayout} or * {@link ElementResizeListener}. */ diff --git a/client/src/main/java/com/vaadin/client/UIDL.java b/client/src/main/java/com/vaadin/client/UIDL.java index 05a2e5f5ef..332b7aae9d 100644 --- a/client/src/main/java/com/vaadin/client/UIDL.java +++ b/client/src/main/java/com/vaadin/client/UIDL.java @@ -23,7 +23,6 @@ import java.util.Set; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.core.client.JsArrayString; import com.vaadin.server.PaintTarget; -import com.vaadin.ui.AbstractComponent; import com.vaadin.ui.Component; /** @@ -63,7 +62,7 @@ public final class UIDL extends JavaScriptObject { * Gets the name of this UIDL section, as created with * {@link PaintTarget#startTag(String) PaintTarget.startTag()} in the * server-side {@link Component#paint(PaintTarget) Component.paint()} or - * (usually) {@link AbstractComponent#paintContent(PaintTarget) + * (usually) {@link com.vaadin.ui.AbstractComponent#paintContent(PaintTarget) * AbstractComponent.paintContent()}. Note that if the UIDL corresponds to a * Paintable, a component identifier will be returned instead - this is used * internally and is not needed within diff --git a/client/src/main/java/com/vaadin/client/WidgetUtil.java b/client/src/main/java/com/vaadin/client/WidgetUtil.java index 7fc027d55d..0aced86b03 100644 --- a/client/src/main/java/com/vaadin/client/WidgetUtil.java +++ b/client/src/main/java/com/vaadin/client/WidgetUtil.java @@ -828,7 +828,7 @@ public class WidgetUtil { * DOM upwards from given element. * <p> * <strong>Note:</strong> If {@code element} is inside some widget {@code W} - * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite} + * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite} * {@code C}, this method will not find {@code W} but returns {@code C}. * This may also be the case with other Composite-like classes that hijack * the event handling of their child widget(s). @@ -847,7 +847,7 @@ public class WidgetUtil { * traversing DOM upwards from given element. * <p> * <strong>Note:</strong> If {@code element} is inside some widget {@code W} - * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite} + * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite} * {@code C}, this method will not find {@code W}. It returns either * {@code C} or null, depending on whether the class parameter matches. This * may also be the case with other Composite-like classes that hijack the @@ -871,7 +871,7 @@ public class WidgetUtil { * traversing DOM upwards from given element. * <p> * <strong>Note:</strong> If {@code element} is inside some widget {@code W} - * , <em>and</em> {@code W} in turn is wrapped in a {@link Composite} + * , <em>and</em> {@code W} in turn is wrapped in a {@link com.google.gwt.user.client.ui.Composite Composite} * {@code C}, this method will not find {@code W}. It returns either * {@code C} or null, depending on whether the class parameter matches. This * may also be the case with other Composite-like classes that hijack the diff --git a/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java index a7d2bbf6b4..026f962cb7 100644 --- a/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/ClickableRendererConnector.java @@ -26,7 +26,9 @@ import com.vaadin.shared.ui.grid.renderers.RendererClickRpc; import elemental.json.JsonObject; /** - * An abstract base class for {@link ClickableRenderer} connectors. + * An abstract base class for + * {@link com.vaadin.client.renderers.ClickableRenderer ClickableRenderer} + * connectors. * * @param <T> * the presentation type of the renderer diff --git a/client/src/main/java/com/vaadin/client/connectors/grid/AbstractGridRendererConnector.java b/client/src/main/java/com/vaadin/client/connectors/grid/AbstractGridRendererConnector.java index ff2b9876dd..dabd685bb3 100644 --- a/client/src/main/java/com/vaadin/client/connectors/grid/AbstractGridRendererConnector.java +++ b/client/src/main/java/com/vaadin/client/connectors/grid/AbstractGridRendererConnector.java @@ -25,8 +25,8 @@ import elemental.json.JsonObject; /** * An abstract base class for renderer connectors. A renderer connector is used - * to link a client-side {@link Renderer} to a server-side - * {@link com.vaadin.client.renderers.Renderer Renderer}. As a connector, it can + * to link a client-side {@link com.vaadin.client.renderers.Renderer Renderer} to a server-side + * {@link com.vaadin.ui.renderers.Renderer Renderer}. As a connector, it can * use the regular Vaadin RPC and shared state mechanism to pass additional * state and information between the client and the server. This base class * itself only uses the basic {@link com.vaadin.shared.communication.SharedState diff --git a/client/src/main/java/com/vaadin/client/ui/JsniMousewheelHandler.java b/client/src/main/java/com/vaadin/client/ui/JsniMousewheelHandler.java index 7911b393e8..daa6964c16 100644 --- a/client/src/main/java/com/vaadin/client/ui/JsniMousewheelHandler.java +++ b/client/src/main/java/com/vaadin/client/ui/JsniMousewheelHandler.java @@ -19,7 +19,6 @@ import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.Event; import com.google.gwt.user.client.ui.Widget; -import com.vaadin.client.widgets.Escalator; /** * A mousewheel handling class to get around the limits of @@ -27,7 +26,7 @@ import com.vaadin.client.widgets.Escalator; * * For internal use only. May be removed or replaced in the future. * - * @see Escalator.JsniWorkaround + * @see com.vaadin.client.widgets.JsniWorkaround JsniWorkaround */ // FIXME remove the copy in v7 package abstract class JsniMousewheelHandler { diff --git a/client/src/main/java/com/vaadin/client/ui/VCustomLayout.java b/client/src/main/java/com/vaadin/client/ui/VCustomLayout.java index b12690dbff..88c84ad5bb 100644 --- a/client/src/main/java/com/vaadin/client/ui/VCustomLayout.java +++ b/client/src/main/java/com/vaadin/client/ui/VCustomLayout.java @@ -17,7 +17,6 @@ package com.vaadin.client.ui; import java.util.HashMap; -import java.util.Iterator; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.ImageElement; diff --git a/client/src/main/java/com/vaadin/client/ui/VNotification.java b/client/src/main/java/com/vaadin/client/ui/VNotification.java index 0eaee0102c..8f98b6bd08 100644 --- a/client/src/main/java/com/vaadin/client/ui/VNotification.java +++ b/client/src/main/java/com/vaadin/client/ui/VNotification.java @@ -18,7 +18,6 @@ package com.vaadin.client.ui; import java.util.ArrayList; import java.util.EventObject; -import java.util.Iterator; import com.google.gwt.aria.client.Roles; import com.google.gwt.core.client.GWT; diff --git a/client/src/main/java/com/vaadin/client/ui/VUI.java b/client/src/main/java/com/vaadin/client/ui/VUI.java index 71f3daeaf0..28b9fd06c6 100644 --- a/client/src/main/java/com/vaadin/client/ui/VUI.java +++ b/client/src/main/java/com/vaadin/client/ui/VUI.java @@ -330,7 +330,7 @@ public class VUI extends SimplePanel implements ResizeHandler, Profiler.leave("VUI.sendClientResized"); } - public native static void goTo(String url) + public static native void goTo(String url) /*-{ $wnd.location = url; }-*/; diff --git a/client/src/main/java/com/vaadin/client/widget/escalator/EscalatorUpdater.java b/client/src/main/java/com/vaadin/client/widget/escalator/EscalatorUpdater.java index b07594946f..749a999e79 100644 --- a/client/src/main/java/com/vaadin/client/widget/escalator/EscalatorUpdater.java +++ b/client/src/main/java/com/vaadin/client/widget/escalator/EscalatorUpdater.java @@ -26,7 +26,8 @@ import com.vaadin.client.widgets.Escalator; * The updater is responsible for internally handling all remote communication, * should the displayed data need to be fetched remotely. * <p> - * This has a similar function to {@link Grid Grid's} {@link Renderer Renderers} + * This has a similar function to {@link com.vaadin.client.widgets.Grid Grid's} + * {@link com.vaadin.client.renderers.Renderer Renderers} * , although they operate on different abstraction levels. * * @since 7.4 @@ -35,7 +36,7 @@ import com.vaadin.client.widgets.Escalator; * @see Escalator#getHeader() * @see Escalator#getBody() * @see Escalator#getFooter() - * @see Renderer + * @see com.vaadin.client.renderers.Renderer Renderer */ public interface EscalatorUpdater { diff --git a/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightCell.java b/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightCell.java index 7a130d3946..7ad0d922a4 100644 --- a/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightCell.java +++ b/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightCell.java @@ -24,7 +24,7 @@ import com.vaadin.client.widget.escalator.FlyweightRow.CellIterator; import com.vaadin.client.widgets.Escalator; /** - * A {@link FlyweightCell} represents a cell in the {@link Grid} or + * A {@link FlyweightCell} represents a cell in the {@link com.vaadin.client.widgets.Grid Grid} or * {@link Escalator} at a certain point in time. * * <p> diff --git a/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightRow.java b/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightRow.java index 0105560a00..e93fe1d3a8 100644 --- a/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightRow.java +++ b/client/src/main/java/com/vaadin/client/widget/escalator/FlyweightRow.java @@ -21,7 +21,6 @@ import java.util.Iterator; import java.util.List; import com.google.gwt.dom.client.TableRowElement; -import com.vaadin.client.widgets.Escalator; /** * An internal implementation of the {@link Row} interface. @@ -31,7 +30,7 @@ import com.vaadin.client.widgets.Escalator; * * @since 7.4 * @author Vaadin Ltd - * @see Escalator.AbstractRowContainer#refreshRow(Node, int) + * @see com.vaadin.client.widgets.Escalator.AbstractRowContainer#refreshRow(TableRowElement, int) */ public class FlyweightRow implements Row { @@ -215,7 +214,7 @@ public class FlyweightRow implements Row { * * @return an iterable of flyweight cells * - * @see #setup(Element, int, int[]) + * @see #setup(TableRowElement, int, int[]) * @see #teardown() */ public Iterable<FlyweightCell> getCells() { diff --git a/client/src/main/java/com/vaadin/client/widget/grid/DataAvailableEvent.java b/client/src/main/java/com/vaadin/client/widget/grid/DataAvailableEvent.java index b1ed8757d2..798280e245 100644 --- a/client/src/main/java/com/vaadin/client/widget/grid/DataAvailableEvent.java +++ b/client/src/main/java/com/vaadin/client/widget/grid/DataAvailableEvent.java @@ -34,7 +34,8 @@ public class DataAvailableEvent extends GwtEvent<DataAvailableHandler> { } /** - * Returns the range of available rows in {@link DataSource} for this event. + * Returns the range of available rows in {@link com.vaadin.client.data.DataSource DataSource} + * for this event. * * @return range of available rows */ diff --git a/client/src/main/java/com/vaadin/client/widget/grid/RowStyleGenerator.java b/client/src/main/java/com/vaadin/client/widget/grid/RowStyleGenerator.java index 35285e17d3..3b1e85c4d4 100644 --- a/client/src/main/java/com/vaadin/client/widget/grid/RowStyleGenerator.java +++ b/client/src/main/java/com/vaadin/client/widget/grid/RowStyleGenerator.java @@ -23,7 +23,8 @@ import java.io.Serializable; * @author Vaadin Ltd * @param <T> * the row type of the target grid - * @see Grid#setRowStyleGenerator(RowStyleGenerator) + * @see com.vaadin.client.widgets.Grid#setRowStyleGenerator(RowStyleGenerator) + * Grid#setRowStyleGenerator(RowStyleGenerator) * @since 7.4 */ public interface RowStyleGenerator<T> extends Serializable { |