From 0f5284bb827b5f04c6c064c851b851604293665a Mon Sep 17 00:00:00 2001 From: Pekka Hyvönen Date: Mon, 10 Sep 2012 22:12:47 +0300 Subject: Constants -> enums (#9072) Patch from Pekka with minor changes (ButtonCode -> MouseButton, FilteringMode -> ComboBox) --- server/src/com/vaadin/ui/Link.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'server/src/com/vaadin/ui/Link.java') diff --git a/server/src/com/vaadin/ui/Link.java b/server/src/com/vaadin/ui/Link.java index a2737e4483..6e286174a5 100644 --- a/server/src/com/vaadin/ui/Link.java +++ b/server/src/com/vaadin/ui/Link.java @@ -34,15 +34,21 @@ import com.vaadin.shared.ui.link.LinkConstants; @SuppressWarnings("serial") public class Link extends AbstractComponent implements LegacyComponent { - /* Target window border type constant: No window border */ + /** + * @deprecated from 7.0, use {@link BorderStyle#NONE} instead + */ @Deprecated public static final BorderStyle TARGET_BORDER_NONE = BorderStyle.NONE; - /* Target window border type constant: Minimal window border */ + /** + * @deprecated from 7.0, use {@link BorderStyle#MINIMAL} instead + */ @Deprecated public static final BorderStyle TARGET_BORDER_MINIMAL = BorderStyle.MINIMAL; - /* Target window border type constant: Default window border */ + /** + * @deprecated from 7.0, use {@link BorderStyle#DEFAULT} instead + */ @Deprecated public static final BorderStyle TARGET_BORDER_DEFAULT = BorderStyle.DEFAULT; -- cgit v1.2.3